This class represents a rectangle in a PDF document
Inheritance Hierarchy
WinnovativePageElement
WinnovativePageGraphicElement
WinnovativeRectangleElement
Namespace: Winnovative
Assembly: wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax
The RectangleElement type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RectangleElement(RectangleF) |
Constructs a rectangle element based on a bounding rectangle
| |
RectangleElement(Single, Single, Single, Single) |
Constructs a rectangle element based on the rectangle top left corner coordinates, width and height
|
Properties
Name | Description | |
---|---|---|
BackColor |
Gets or sets element background color.
(Inherited from PageGraphicElement.) | |
Blending |
Gets or sets blending mode for transparent rendering mode of the element.
(Inherited from PageGraphicElement.) | |
ClipRectangle |
The clip rectangle applied when the element is rendered in PDF
(Inherited from PageGraphicElement.) | |
ForeColor |
Gets or sets the element foreground color.
(Inherited from PageGraphicElement.) | |
Gradient |
The gradient used to fill a shape.
(Inherited from PageGraphicElement.) | |
Height |
Gets the rectangle height
| |
LineStyle |
Gets or sets the line style for elements rendering lines.
(Inherited from PageGraphicElement.) | |
Opacity |
Gets or sets element opacity. The opacity is expressed as a value between 0 and 100.
0 means completely transparent and 100 completely opaque. The default value of this property is 100.
(Inherited from PageGraphicElement.) | |
Rotated |
A flag to indicate if this element was rotated.
(Inherited from PageGraphicElement.) | |
Scaled |
A flag to indicate if this element was scaled.
(Inherited from PageGraphicElement.) | |
Skewed |
A flag to indicate if this element was skewed.
(Inherited from PageGraphicElement.) | |
Translated |
A flag to indicate if this element was translated.
(Inherited from PageGraphicElement.) | |
Width |
Gets the rectangle width
| |
X |
Gets or sets the rectangle top left corner X coordinate
| |
Y |
Gets or sets the rectangle top left corner Y coordinate
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Rotate |
Rotates the coordinate system axes clockwise by the specified angle before rendering the element.
The coordinates of the element are relative to the rotated coordinates system.
(Inherited from PageGraphicElement.) | |
Scale |
Scales the coordinates so that 1 unit in the horizontal and vertical dimensions of the new coordinate system
is the same size as sx and sy units, respectively, in the previous coordinate system.
(Inherited from PageGraphicElement.) | |
Skew |
Skews the x axis by an skewXAngle and the y axis by an skewYAngle
before rendering the element.
(Inherited from PageGraphicElement.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Translate |
Translates the coordinate system before rendering the element.
The coordinates of the element are relative to the translated coordinate system.
(Inherited from PageGraphicElement.) |
See Also