IdxRichEditShape.Picture Property
Provides access to the Office Image container that hosts the source bitmap of the floating shape (picture).
#Declaration
property Picture: TdxOfficeImage read;
#Property Value
Type | Description |
---|---|
Tdx |
The source image container. |
#Remarks
The Picture
property returns the floating shape’s Office Image container. The property returns nil
(in Delphi) or nullptr
(in C++Builder) if the shape is a text box.
You can call the Picture
.AssignFromSmartImage or Picture
.LoadFromFile procedure to replace the current source image with a bitmap stored in a Smart Image container or file, respectively.
#Limitations
The Office Image container does not support vector images to ensure compatibility with popular document formats. Refer to the TdxOfficeImage class description for detailed information.