Skip to main content

IdxRichEditDocumentImage Members

Exposes an inline image in a rich text document.

Properties

Name Description
Image Provides access to the Office Image container that hosts the inline image’s source bitmap.
LockAspectRatio Specifies if an end-user can change the inline image’s height-to-width ratio by using a corner sizing handle or the Layout dialog.
OriginalSize Returns the inline image’s initial dimensions in the parent document’s measurement units.
Range Returns the inline image’s position within its parent document.
ScaleX Specifies the scaling factor applied to the inline image’s original width.
ScaleY Specifies the scaling factor applied to the inline image’s original height.
Size Specifies the inline image’s dimensions, in the parent document‘s measurement units.
Uri Specifies the hosted image’s universal resource identifier.

Methods

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