Show / Hide Table of Contents

Class RectangleShapeItem

Represents a rectangle shape item.

Inheritance
System.Object
Item
ShapeItem
ClosedShapeItem
RectangleShapeItem
Inherited Members
ClosedShapeItem._fillColor
ClosedShapeItem.FillColor
ClosedShapeItem._fillColorHex
ClosedShapeItem.FillColorHex
ShapeItem.HexColorPattern
ShapeItem._strokeThickness
ShapeItem._strokeColor
ShapeItem._width
ShapeItem._height
ShapeItem.StrokeThickness
ShapeItem.StrokeColor
ShapeItem._strokeColorHex
ShapeItem.StrokeColorHex
ShapeItem.Width
ShapeItem.Height
ShapeItem._strokeStyle
ShapeItem.StrokeStyle
ShapeItem._strokeStylePattern
ShapeItem.StrokeStylePattern
ShapeItem.GetStrokeStylePattern()
Item.PropertyChanged
Item.OnPropertyChanged(Item, String)
Item._unitType
Item._dpi
Item._name
Item._x
Item._y
Item._dataField
Item._dataFieldFormatString
Item._useCache
Item._cacheItemId
Item.Name
Item.X
Item.Y
Item.UnitType
Item.Dpi
Item.DataField
Item.DataFieldFormatString
Item.UseCache
Item.CacheItemId
Item._printAsGraphic
Item.PrintAsGraphic
Item._visible
Item.Visible
Item._comments
Item.Comments
Item._tag
Item.Tag
Item._locked
Item.Locked
Item._editable
Item.Editable
Item._resizable
Item.Resizable
Item._expression
Item.Expression
Item._isDesignTime
Item.IsDesignTime
Item._groupName
Item.GroupName
Item._readonly
Item.ReadOnly
Item.HasFixedContent
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 RectangleShapeItem : ClosedShapeItem, IXmlTemplate, INotifyPropertyChanged

Constructors

RectangleShapeItem()

Initializes a new instance of the RectangleShapeItem class.

Declaration
public RectangleShapeItem()

RectangleShapeItem(Double, Double, Double, Double)

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

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

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 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

Methods

Clone()

Creates a copy of the current RectangleShapeItem.

Declaration
public override Item Clone()
Returns
Type Description
Item

A copy of the current RectangleShapeItem.

Overrides
Item.Clone()

ConvertToUnit(UnitType)

Declaration
public override void ConvertToUnit(UnitType unit)
Parameters
Type Name Description
UnitType unit
Overrides
ShapeItem.ConvertToUnit(UnitType)

UpdateFrom(Item)

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

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

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

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