vcl-dxrichedit-dot-nativeapi-dot-idxricheditshape.md
Provides access to the Office Image container that hosts the source bitmap of the floating shape (picture).
property Picture: TdxOfficeImage read;
| Type | Description |
|---|---|
| TdxOfficeImage |
The source image container.
|
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.
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.
See Also
IdxRichEditDocumentImage.Image Property