Skip to content

PdfPageSize.IsMatch Method

Overloads

Name Description
IsMatch(PdfPageSize,Double) Tests if the given object matches this object when the size different is less than delta.
IsMatch(Double,Double,Double) Tests if the given size matches this object when the difference is less than delta.

IsMatch(PdfPageSize,Double)

Tests if the given object matches this object when the size different is less than delta.

C#
public bool IsMatch(PdfPageSize other, double delta)

Parameters

other PdfPageSize

Object to compare.

delta Double

Allowed difference in size.

IsMatch(Double,Double,Double)

Tests if the given size matches this object when the difference is less than delta.

C#
public bool IsMatch(double width, double height, double delta)

Parameters

width Double

Width to compare.

height Double

Height to compare.

delta Double

Allowed difference in size.