Table of Contents

Method Inflate

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Inflate(XSize)

Expands the rectangle by using the specified Size, in all directions.

public void Inflate(XSize size)

Parameters

size XSize

Inflate(double, double)

Expands or shrinks the rectangle by using the specified width and height amounts, in all directions.

public void Inflate(double width, double height)

Parameters

width double
height double

Inflate(XRect, XSize)

Returns the rectangle that results from expanding the specified rectangle by the specified Size, in all directions.

public static XRect Inflate(XRect rect, XSize size)

Parameters

rect XRect
size XSize

Returns

XRect

Inflate(XRect, double, double)

Creates a rectangle that results from expanding or shrinking the specified rectangle by the specified width and height amounts, in all directions.

public static XRect Inflate(XRect rect, double width, double height)

Parameters

rect XRect
width double
height double

Returns

XRect