PdfDocumentAddRectangle Method

Adds a rectangle shape to the current page

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public PdfElementRenderInfo AddRectangle(
	PdfRectangleElement rectangleElement
)

Parameters

rectangleElement  PdfRectangleElement
The rectangle to draw

Return Value

PdfElementRenderInfo
A PdfElementRenderInfo object containing the page number and bounding rectangles where the element was rendered

See Also