[]
        
(Showing Draft Content)

C1.C1Preview.RectangleProps

RectangleProps Class

Represents the geometric properties of a rectangle, also serves as the base for classes describing certain other shapes (such as round rectangle, arc and pie). Used by RenderRectangle and derived classes.

Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public class RectangleProps : ShapeProps

Constructors

Name Description
RectangleProps()

Initializes a new instance of the RectangleProps class. The location and size of the rectangle are set to those of the containing RenderRectangle object.

Properties

Name Description
Height

Gets or sets the height of the current rectangle.

Width

Gets or sets the width of the current rectangle.

X

Gets or sets the X coordinate of the current rectangle.

Y

Gets or sets the Y coordinate of the current rectangle.

Methods

Name Description
AssignFrom(ShapeProps)

Assigns (copies) properties from another ShapeProps to the current object.