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
)
Public Function Expand (
leftAmount As Double,
rightAmount As Double,
topAmount As Double,
bottomAmount As Double
) As PdfBounds
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:
PdfBoundsA 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