Skip to main content

IdxRichEditDocumentImage Methods

Exposes an inline image in a rich text document.
Name Description
GetImage Returns the Office Image container that hosts the inline image’s source bitmap.
GetLockAspectRatio Identifies whether an end-user can change the inline image’s aspect ratio by using a corner sizing handle or the Layout dialog.
GetOriginalSize Returns the inline image’s initial dimensions in the parent document’s measurement units.
GetRange Returns the inline image’s position within its parent document.
GetScaleX Returns the scale factor applied to the inline image’s original width.
GetScaleY Returns the scale factor applied to the inline image’s original height.
GetSize Returns the inline image’s current dimensions, in measurement units of the parent document.
GetUri Returns 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