Method Inflate
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Inflate(PdfRectangle, double, double)
Creates and returns an inflated copy of the specified PdfRectangle structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.
public static PdfRectangle Inflate(PdfRectangle rect, double x, double y)
Parameters
rect
PdfRectangleThe PdfRectangle to be copied. This rectangle is not modified.
x
doubleThe amount to inflate the copy of the rectangle horizontally.
y
doubleThe amount to inflate the copy of the rectangle vertically.
Returns
- PdfRectangle
The inflated PdfRectangle.
Inflate(float, float)
Inflates this PdfRectangle by the specified amount.
public void Inflate(float x, float y)
Parameters
x
floatThe amount to inflate this PdfRectangle structure horizontally.
y
floatThe amount to inflate this PdfRectangle structure vertically.
Inflate(double, double)
Inflates this PdfRectangle by the specified amount.
public void Inflate(double x, double y)
Parameters
x
doubleThe amount to inflate this PdfRectangle structure horizontally.
y
doubleThe amount to inflate this PdfRectangle structure vertically.
Inflate(PdfSize)
Inflates this PdfRectangle by the specified amount.
public void Inflate(PdfSize size)
Parameters
size
PdfSizeThe amount to inflate this rectangle.