Click or drag to resize

PdfDrawingSurfaceAddRect Method (PdfBounds, PdfTransform)

First applies a transform then adds the a closed rectangle to the current path. The transform 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,
	PdfTransform transform
)

Parameters

r
Type: Atalasoft.PdfDoc.GeometryPdfBounds
The rectangle to add.
transform
Type: Atalasoft.PdfDoc.GeometryPdfTransform
The transform to apply.
Examples
drawingSurface.AddRect(new PdfBounds(0, 0, 60, 60), PdfTransform.Rotate(Math.PI/4.0));
See Also