Class LineShapeItem
Represents a line shape item. Use it to create horizontal, vertical and diagonal lines.
Inherited Members
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public class LineShapeItem : ShapeItem, IXmlTemplate, INotifyPropertyChanged
Constructors
LineShapeItem()
Initializes a new instance of the LineShapeItem class.
Declaration
public LineShapeItem()
LineShapeItem(Double, Double, Double, Double)
Initializes a new instance of the LineShapeItem class with the specified location and size.
Declaration
public LineShapeItem(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
Orientation
Gets or sets the line shape orientation. Default value is Horizontal
Declaration
public LineOrientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
LineOrientation |
Methods
Clone()
Creates a copy of the current LineShapeItem.
Declaration
public override Item Clone()
Returns
Type | Description |
---|---|
Item | A copy of the current LineShapeItem. |
Overrides
UpdateFrom(Item)
Updates this LineShapeItem object with the properties of the specified LineShapeItem object.
Declaration
public override void UpdateFrom(Item item)
Parameters
Type | Name | Description |
---|---|---|
Item | item | The LineShapeItem object that is used for updating this LineShapeItem object. |