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
ShapeItem.StrokeThickness
ShapeItem.StrokeColor
ShapeItem.Width
ShapeItem.Height
ShapeItem.ConvertToUnit(UnitType)
Item.PropertyChanged
Item.OnPropertyChanged(Item, String)
Item.Name
Item.X
Item.Y
Item.UnitType
Item.Dpi
Item.DataField
Item.DataFieldFormatString
Item.UseCache
Item.CacheItemId
Item.PrintAsGraphic
Item.Comments
Item.Tag
Item.Locked
Item.Editable
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: 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
Item.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
Item.UpdateFrom(Item)
Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com