Click or drag to resize

PdfBoundsExpand Method (Double, Double)

Expands the PdfBounds by specified amount on sides and on the top and bottom.

Namespace:  Atalasoft.PdfDoc.Geometry
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public PdfBounds Expand(
	double amountOnSides,
	double amountOnTopAndBottom
)

Parameters

amountOnSides
Type: SystemDouble
The amount on sides.
amountOnTopAndBottom
Type: SystemDouble
The amount on top and bottom.

Return Value

Type: PdfBounds
A new PdfBounds with the expansion applied.
Remarks
If amountOnSides or amountOnTopAndBottom are negative, the PdfBounds will be smaller in those dimensions.
See Also