Back to Devexpress

IdxRichEditShape.Picture Property

vcl-dxrichedit-dot-nativeapi-dot-idxricheditshape.md

latest2.0 KB
Original Source

IdxRichEditShape.Picture Property

Provides access to the Office Image container that hosts the source bitmap of the floating shape (picture).

Declaration

delphi
property Picture: TdxOfficeImage read;

Property Value

TypeDescription
TdxOfficeImage

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.

See Also

IdxRichEditDocumentImage.Image Property

IdxRichEditShape.GetPicture Function

IdxRichEditShape Interface

IdxRichEditShape Members

dxRichEdit.NativeApi Unit