Table of Contents

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 RectangleF

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

The X coordinate

y float

The Y coordinate

width float

The rectangle width

height float

The rectangle height

Properties

Height

Gets the rectangle height

public float Height { get; set; }

Property Value

float

Width

Gets the rectangle width

public float Width { get; set; }

Property Value

float

X

Gets or sets the rectangle top left corner X coordinate

public float X { get; set; }

Property Value

float

Y

Gets or sets the rectangle top left corner Y coordinate

public float Y { get; set; }

Property Value

float