Click or drag to resize

PdfBoundsExpand Method (Double, Double, Double, Double)

Expands the PdfBounds by specified amount on each side.

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 leftAmount,
	double rightAmount,
	double topAmount,
	double bottomAmount
)

Parameters

leftAmount
Type: SystemDouble
The left amount.
rightAmount
Type: SystemDouble
The right amount.
topAmount
Type: SystemDouble
The top amount.
bottomAmount
Type: SystemDouble
The bottom amount.

Return Value

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