Skip to main content

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
TdxOfficeImage

Remarks

This property returns the floating shape’s Office Image container. The property returns nil 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.

Note

The Office Image container supports the same image formats as the Smart Image and Smart Glyph containers, except for SVG to retain compatibility with supported rich text document formats. Refer to the TdxOfficeImage class description for detailed information.

See Also