Back to Devexpress

IdxRichEditDocumentImage Members

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

latest4.3 KB
Original Source

IdxRichEditDocumentImage Members

Exposes an inline image in a rich text document.

Properties

NameDescription
ImageProvides access to the Office Image container that hosts the inline image’s source bitmap.
LockAspectRatioSpecifies if an end-user can change the inline image’s height-to-width ratio by using a corner sizing handle or the Layout dialog.
OriginalSizeReturns the inline image’s initial dimensions in the parent document’s measurement units.
RangeReturns the inline image’s position within its parent document.
ScaleXSpecifies the scaling factor applied to the inline image’s original width.
ScaleYSpecifies the scaling factor applied to the inline image’s original height.
SizeSpecifies the inline image’s dimensions, in the parent document‘s measurement units.
UriSpecifies the hosted image’s universal resource identifier.

Methods

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

dxRichEdit.NativeApi Unit