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.GetPicture Method

Provides access to the Office Image container that hosts the floating picture’s source bitmap.

#Declaration

Delphi
function GetPicture: TdxOfficeImage;

#Returns

Type
TdxOfficeImage

#Remarks

You can call the GetPicture.LoadFromFile or GetPicture.AssignFromSmartImage procedure to replace the bitmap that the floating picture displays. Refer to the TdxOfficeImage class description for detailed information on all available options.

The GetPicture function retuns nil if the floating shape is a text box. The type of a floating shape depends on whether the Shapes.InsertTextBox or Shapes.InsertPicture function of the parent document is called to create the shape.

The GetPicture function is the Picture property’s getter.

See Also