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
rectPdfRectangleThe PdfRectangle to be copied. This rectangle is not modified.
xdoubleThe amount to inflate the copy of the rectangle horizontally.
ydoubleThe 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
xfloatThe amount to inflate this PdfRectangle structure horizontally.
yfloatThe 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
xdoubleThe amount to inflate this PdfRectangle structure horizontally.
ydoubleThe amount to inflate this PdfRectangle structure vertically.
Inflate(PdfSize)
Inflates this PdfRectangle by the specified amount.
public void Inflate(PdfSize size)
Parameters
sizePdfSizeThe amount to inflate this rectangle.