Show / Hide Table of Contents

Class EllipseShapeItem

Represents an ellipse rectangle shape item.

Inheritance
System.Object
Item
ShapeItem
ClosedShapeItem
EllipseShapeItem
Inherited Members
FillColor
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 EllipseShapeItem : ClosedShapeItem, IXmlTemplate, INotifyPropertyChanged

Constructors

EllipseShapeItem()

Initializes a new instance of the EllipseShapeItem class.

Declaration
public EllipseShapeItem()

EllipseShapeItem(Double, Double, Double, Double)

Initializes a new instance of the EllipseShapeItem class with the specified location and size.

Declaration
public EllipseShapeItem(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

IsCircle

Declaration
protected virtual bool IsCircle { get; }
Property Value
Type Description
System.Boolean

RotationAngle

Gets or sets the rotation angle 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 range from 0 to 360.

Methods

Clone()

Creates a copy of the current EllipseShapeItem.

Declaration
public override Item Clone()
Returns
Type Description
Item

A copy of the current EllipseShapeItem.

Overrides
Clone()

UpdateFrom(Item)

Updates this EllipseShapeItem object with the properties of the specified EllipseShapeItem object.

Declaration
public override void UpdateFrom(Item item)
Parameters
Type Name Description
Item item

The EllipseShapeItem object that is used for updating this EllipseShapeItem object.

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