PdfDocumentAddRectangle Method

Adds a rectangle shape to the current page

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 20.10.0
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