Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Type Description
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.

VCL Rich Edit: A Floating Image Example

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