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
)
Public Function Expand (
amountOnSides As Double,
amountOnTopAndBottom As Double
) As PdfBounds
Parameters
- amountOnSides
- Type: SystemDouble
The amount on sides. - amountOnTopAndBottom
- Type: SystemDouble
The amount on top and bottom.
Return Value
Type:
PdfBoundsA new PdfBounds with the expansion applied.
Remarks
If amountOnSides or amountOnTopAndBottom are negative, the PdfBounds will be smaller in those dimensions.
See Also