Show / Hide Table of Contents

Class LineShapeItem

Represents a line shape item. Use it to create horizontal, vertical and diagonal lines.

Inheritance
System.Object
Item
ShapeItem
LineShapeItem
Inherited Members
StrokeThickness
StrokeColor
Width
Height
ConvertToUnit(UnitType)
PropertyChanged
OnPropertyChanged(Item, String)
Name
X
Y
UnitType
Dpi
DataField
DataFieldFormatString
UseCache
CacheItemId
PrintAsGraphic
Comments
Tag
Locked
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:Neodynamic.SDK.Printing
Assembly:Neodynamic.SDK.ThermalLabel.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
Clone()

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.

Overrides
UpdateFrom(Item)
Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com