Click or drag to resize

PdfDrawingSurfaceAddRect Method (PdfBounds, PdfPoint)

First applies a translation transform then adds the a closed rectangle to the current path. The translation remains in place after the addition.

Namespace:  Atalasoft.PdfDoc.Generating.Rendering
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public abstract void AddRect(
	PdfBounds r,
	PdfPoint location
)

Parameters

r
Type: Atalasoft.PdfDoc.GeometryPdfBounds
The rectangle to add.
location
Type: Atalasoft.PdfDoc.GeometryPdfPoint
The location to which the rectangle will be translated.
Examples
drawingSurface.AddRect(new PdfBounds(0, 0, 60, 60), new PdfPoint(100, 120));
See Also