Class RectangleElement
- Namespace
- EvoPdf
- Assembly
- evohtmltopdf.dll
This class represents a rectangle in a PDF document
[ClassInterface(ClassInterfaceType.AutoDual)]
public class RectangleElement : PageGraphicElement
- Inheritance
-
RectangleElement
- Inherited Members
Constructors
RectangleElement(RectangleF)
Constructs a rectangle element based on a bounding rectangle
public RectangleElement(RectangleF rectangle)
Parameters
rectangle
RectangleFThe bounding rectangle
RectangleElement(float, float, float, float)
Constructs a rectangle element based on the rectangle top left corner coordinates, width and height
public RectangleElement(float x, float y, float width, float height)
Parameters
x
floatThe X coordinate
y
floatThe Y coordinate
width
floatThe rectangle width
height
floatThe rectangle height
Properties
Height
Gets the rectangle height
public float Height { get; set; }
Property Value
Width
Gets the rectangle width
public float Width { get; set; }
Property Value
X
Gets or sets the rectangle top left corner X coordinate
public float X { get; set; }
Property Value
Y
Gets or sets the rectangle top left corner Y coordinate
public float Y { get; set; }