IdxRichEditShape.GetPicture Method
Provides access to the Office Image container that hosts the floating picture’s source bitmap.
Declaration
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