Skip to main content

IdxRichEditShape Methods

Exposes a floating shape within the document’s shape collection.
Name Description
GetFill Returns the floating shape’s background fill settings.
GetHorizontalAlignment
GetLine Returns the floating shape’s outline appearance settings.
GetLockAspectRatio
GetMarginBottom
GetMarginLeft
GetMarginRight
GetMarginTop
GetName
GetOffset Returns the floating shape’s position offset (in the parent document’s measurement units) from a base document position.
GetOriginalSize Returns the floating shape’s initial dimensions in the parent document’s measurement units.
GetPicture Provides access to the Office Image container that hosts the floating picture’s source bitmap.
GetPictureUri Returns the hosted image’s universal resource identifier.
GetRange Returns the anchor position of the floating picture or text box.
GetRelativeHorizontalPosition
GetRelativeVerticalPosition
GetRotationAngle Returns the floating shape’s rotation angle in degrees.
GetScaleX Returns the scale factor applied to the original width of the floating picture or text box.
GetScaleY Returns the scale factor applied to the original height of the floating picture or text box.
GetSize Returns the on-screen dimensions (in the parent document’s measurement units) of the floating picture or text box.
GetTextBox Provides access to the content and settings of a floating text box.
GetTextWrapping Identifies how the floating picture or text box is positioned in relation to the parent document’s “text” layer.
GetVerticalAlignment Identifies how the floating picture or text box is positioned vertically in relation to the selected
GetZOrder
SetHorizontalAlignment(TdxRichEditShapeHorizontalAlignment)
SetLockAspectRatio(Boolean)
SetMarginBottom(Single)
SetMarginLeft(Single)
SetMarginRight(Single)
SetMarginTop(Single)
SetName(string)
SetOffset(TdxPointF)
SetPictureUri(string) Assigns the specified string as the hosted image’s universal resource identifier.
SetRelativeHorizontalPosition(TdxRichEditShapeRelativeHorizontalPosition)
SetRelativeVerticalPosition(TdxRichEditShapeRelativeVerticalPosition)
SetRotationAngle(Single) Rotates the floating picture or text box at the specified angle in degrees.
SetScaleX(Single) Scales the floating picture or text box horizontally.
SetScaleY(Single) Scales the floating picture or text box vertically.
SetSize(TdxSizeF) Resizes the floating picture or text box.
SetTextWrapping(TdxRichEditTextWrappingType) Changes the floating shape’s position in relation to the parent document’s “text” layer.
SetVerticalAlignment(TdxRichEditShapeVerticalAlignment)
SetZOrder(Integer)
See Also