IdxRichEditDocumentImage Interface
Exposes an inline image in a rich text document.
Declaration
IdxRichEditDocumentImage = interface(IInterface)
Remarks
Inline images are treated as a single character in a rich text document.
The Rich Edit control supports inserting inline images into any subdocument, including the floating text box‘s content.
The IdxRichEditDocumentImage interface provides access to the properties and methods that allow you to:
Obtain the inline image’s original dimensions (GetOriginalSize and OriginalSize);
Access the inline image’s source bitmap (Image and GetImage);
Obtain the inline image’s current dimensions (Size and GetSize);
Resize and scale the inline image (Size, SetSize, ScaleX, SetScaleX, ScaleY, and SetScaleY);
Allow or forbid end-users to change the inline image dimensions independently by dragging a corner sizing handle or using the Layout dialog (LockAspectRatio);
Obtain the document range corresponding to the inline image’s position (Range and GetRange);
Specify the inline image’s universal resource identifier (Uri and SetUri).
The subdocument’s AppendImage, InsertImage, Images.Append, and Images.Insert functions reference the TdxRichEditDocumentImage interface.