PdfEditorAddPolygon Method

Adds a closed polygon through a sequence of vertices to a specified page in the existing PDF document

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public PdfElementRenderInfo AddPolygon(
	int pageNumber,
	PdfPolygonElement polygonElement
)

Parameters

pageNumber  Int32
The page number (1-based)
polygonElement  PdfPolygonElement
The polygon element to add

Return Value

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

See Also