ShapeBase Class
Provides the base implementation for chart and shape classes.
Inheritance
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public abstract class ShapeBase : ShapeCommon, IXDLSSerializable, IWidget, IParagraphItem, IEntity, IOfficeRun
Properties
HorizontalAlignment
Gets or sets the horizontal alignment for shape or chart.
Declaration
public ShapeHorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
ShapeHorizontalAlignment | The ShapeHorizontalAlignment member that specifies the horizontal alignment. |
HorizontalOrigin
Gets or sets the horizontal origin values for shape or chart.
Declaration
public HorizontalOrigin HorizontalOrigin { get; set; }
Property Value
Type | Description |
---|---|
HorizontalOrigin | The HorizontalOrigin member that specifies the horizontal origin. |
HorizontalPosition
Gets or sets horizontal position of shape or chart measured in points.
Declaration
public float HorizontalPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The float that specifies the horizontal position of the shape or chart. |
IsBelowText
Gets or sets a value indicating whether the shape or chart should be preserved behind the text that surrounds the shape or chart.
Declaration
public bool IsBelowText { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if the shape or chart will be preserved behind the text; false if the shape or chart will be preserved in front of the text. |
LockAnchor
Gets or sets the value indicating whether the anchor position can be modified.
Declaration
public bool LockAnchor { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if the position of anchor should not be modified; otherwise, false. |
VerticalAlignment
Gets or sets the vertical alignment of the shape or chart.
Declaration
public ShapeVerticalAlignment VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
ShapeVerticalAlignment | The ShapeVerticalAlignment member that specifies the vertical alignment. |
VerticalOrigin
Gets or sets vertical origin of the shape or chart.
Declaration
public VerticalOrigin VerticalOrigin { get; set; }
Property Value
Type | Description |
---|---|
VerticalOrigin | The VerticalOrigin member that specifies the vertical origin. |
VerticalPosition
Gets or sets the vertical position of the shape or chart measured in points.
Declaration
public float VerticalPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The float that specifies the vertical position of the shape or chart. |
Visible
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if visible; otherwise, false. |
WrapFormat
Gets or sets the text wrap format of the shape or chart.
Declaration
public WrapFormat WrapFormat { get; set; }
Property Value
Type | Description |
---|---|
WrapFormat | The WrapFormat for the shape or chart. |
Methods
CloneImpl()
Declaration
protected override object CloneImpl()
Returns
Type | Description |
---|---|
System.Object | The reference to the newly created object. |