Back to Devexpress

IdxRichEditDocumentImage Methods

vcl-dxrichedit-dot-nativeapi-dot-idxricheditdocumentimage-dot-underscore-methods.md

latest2.8 KB
Original Source

IdxRichEditDocumentImage Methods

Exposes an inline image in a rich text document.

NameDescription
GetImageReturns the Office Image container that hosts the inline image’s source bitmap.
GetLockAspectRatioIdentifies whether an end-user can change the inline image’s aspect ratio by using a corner sizing handle or the Layout dialog.
GetOriginalSizeReturns the inline image’s initial dimensions in the parent document’s measurement units.
GetRangeReturns the inline image’s position within its parent document.
GetScaleXReturns the scale factor applied to the inline image’s original width.
GetScaleYReturns the scale factor applied to the inline image’s original height.
GetSizeReturns the inline image’s current dimensions, in measurement units of the parent document.
GetUriReturns a URI (universal resource identifier) of the external bitmap that the inline image loads into its Office Image container.
SetLockAspectRatio(Boolean)Enables or disables the “Lock aspect ratio” mode for the inline image.
SetScaleX(Single)Scales the inline image horizontally.
SetScaleY(Single)Scales the inline image vertically.
SetSize(TdxSizeF)Resizes the inline image.
SetUri(string)Sets the URI (universal resource identifier) for the inline image’s source bitmap.

See Also

IdxRichEditDocumentImage Interface

IdxRichEditDocumentImage Members

dxRichEdit.NativeApi Unit