[]
Represents an embedded object that is anchored to some text position.
public class AnchoredObject : Inline
Public Class AnchoredObject
Inherits Inline
Name | Description |
---|---|
AnchoredObject() | Creates a new instance of AnchoredObject. |
AnchoredObject(AnchoredObject) | Creates a new instance of AnchoredObject. |
AnchoredObject(float, float, bool) | Creates a new instance of AnchoredObject. |
AnchoredObject(float, float, bool, HorizontalPosition, VerticalPosition) | Creates a new instance of AnchoredObject. |
AnchoredObject(float, float, bool, HorizontalPosition, VerticalPosition, float, float) | Creates a new instance of AnchoredObject. |
Name | Description |
---|---|
AttachToPreviousChar | Gets or sets a value indicating if the object should be attached to the previous visible character (True) or to the next visible character (False). The default is false. |
ContentObjectRect | Gets a rectangular area occupied by an embedded object, or 'null'. |
Height | Gets or sets the height of the AnchoredObject, in graphic units. |
HorizontalOffset | Gets or sets the horizontal offset relative to the specified position, in graphic units. |
HorizontalPosition | Gets or sets the horizontal position of the AnchoredObject. The default is CharCenter. |
KeepInHorizontalBounds | Gets or sets a value indicating if the anchored object should not appear beyond the horizontal bounds specified by the MinLeft and MaxRight properties. The default is false. |
KeepInVerticalBounds | Gets or sets a value indicating if the anchored object should not appear beyond the vertical bounds specified by the MinTop and MaxBottom properties. The default is false. |
MaxBottom | Gets or sets the maximum Bottom value of the anchored object, in graphic units. The assigned value is ignored unless the KeepInVerticalBounds property is set to true. |
MaxRight | Gets or sets the maximum Right value of the anchored object, in graphic units. The assigned value is ignored unless the KeepInHorizontalBounds property is set to true. |
MinLeft | Gets or sets the minimum Left value of the anchored object, in graphic units. The assigned value is ignored unless the KeepInHorizontalBounds property is set to true. |
MinTop | Gets or sets the minimum Top value of the anchored object, in graphic units. The assigned value is ignored unless the KeepInVerticalBounds property is set to true. |
Object | Gets or sets the embedded object referenced by the AnchoredObject. |
ObjectRect | Gets a rectangular area which is excluded from text layout, or 'null'. |
VerticalOffset | Gets or sets the vertical offset relative to the specified position, in graphic units. |
VerticalPosition | Gets or sets the vertical position of the AnchoredObject. The default is CharCenter. |
Width | Gets or sets the width of the AnchoredObject, in graphic units. |
WrapSide | Gets or sets a value specifying how text wraps around the sides of an anchored object. The default is Both. |
WrapWithText | Gets or sets a value indicating if the anchored object should affect text layout. The default is false. |
Name | Description |
---|---|
GetCharCount() | Gets the number of UTF-16 characters. |
GetChars() | Gets the string of UTF-16 characters. |