Class TableShapeItem
Represents a table shape item.
Inherited Members
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public class TableShapeItem : ClosedShapeItem, IXmlTemplate, INotifyPropertyChanged
Constructors
TableShapeItem()
Initializes a new instance of the TableShapeItem class.
Declaration
public TableShapeItem()
TableShapeItem(Double, Double, Double, Double)
Initializes a new instance of the TableShapeItem class with the specified location and size.
Declaration
public TableShapeItem(double x, double y, double width, double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x-coordinate of the upper-left corner of the item relative to the upper-left corner of its container. |
System.Double | y | The y-coordinate of the upper-left corner of the item relative to the upper-left corner of its container. |
System.Double | width | The width of the item. |
System.Double | height | The height of the item. |
Properties
Columns
Gets or sets a collection of TableColumn objects.
Declaration
public ObservableCollection<TableColumn> Columns { get; set; }
Property Value
Type | Description |
---|---|
ObservableCollection<TableColumn> |
ColumnsLineVisible
Gets or sets whether the columns line are visible or not. Default value is true.
Declaration
public bool ColumnsLineVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CornerRadius
Gets or sets the radii of a rectangle's corners. Default value is 0 (zero)
Declaration
public RectangleCornerRadius CornerRadius { get; set; }
Property Value
Type | Description |
---|---|
RectangleCornerRadius |
RotationAngle
Gets or sets the rotation angle, in 90 degrees increments only, to apply on this item. It is measured clockwise from the x-axis. Default value is 0 (zero)
Declaration
public int RotationAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | The specified value is not in 90 degrees increments. |
Rows
Gets or sets a collection of TableRow objects.
Declaration
public ObservableCollection<TableRow> Rows { get; set; }
Property Value
Type | Description |
---|---|
ObservableCollection<TableRow> |
RowsLineVisible
Gets or sets whether the rows line are visible or not. Default value is true.
Declaration
public bool RowsLineVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Clone()
Creates a copy of the current TableShapeItem.
Declaration
public override Item Clone()
Returns
Type | Description |
---|---|
Item | A copy of the current TableShapeItem. |
Overrides
ConvertToUnit(UnitType, Int32)
Declaration
public override void ConvertToUnit(UnitType unit, int numOfFractionalDigits = -1)
Parameters
Type | Name | Description |
---|---|---|
UnitType | unit | |
System.Int32 | numOfFractionalDigits |
Overrides
GetColumnsSize()
Gets the Columns size.
Declaration
public double[] GetColumnsSize()
Returns
Type | Description |
---|---|
System.Double[] | The Columns size. |
GetRowsSize()
Gets the Rows size.
Declaration
public double[] GetRowsSize()
Returns
Type | Description |
---|---|
System.Double[] | The Rows size. |
UpdateFrom(Item)
Updates this TableShapeItem object with the properties of the specified TableShapeItem object.
Declaration
public override void UpdateFrom(Item item)
Parameters
Type | Name | Description |
---|---|---|
Item | item | The TableShapeItem object that is used for updating this TableShapeItem object. |