PdfPage AddRectangle Method (Single, Single, Single, Single, PdfColor, Single, PdfColor)NFX Class Library

[This is preliminary documentation and is subject to change.]

Add rectangle primitive to the page

Namespace: NFX.Media.PDF.DocumentModel
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public RectangleElement AddRectangle(
	float x1,
	float y1,
	float x2,
	float y2,
	PdfColor fill,
	float borderThickness,
	PdfColor borderColor
)

Return Value

Type: RectangleElement
See Also