| PdfRectangleCenterComparer Method |
Compares centers of rectangles for top-down, left-right sorting.
Namespace:
Opait.Pdf.Api
Assembly:
Opait.Pdf.Api (in Opait.Pdf.Api.dll) Version: 1.3.3.0
Syntax public static int CenterComparer(
PdfRectangle a,
PdfRectangle b,
double tolerance = 0.1
)
Parameters
- a
- Type: Opait.Pdf.ApiPdfRectangle
First rectangle to compare. - b
- Type: Opait.Pdf.ApiPdfRectangle
Second rectangle to compare. - tolerance (Optional)
- Type: SystemDouble
Comparison tolerance.
Return Value
Type:
Int32The lexical relationship between the two comparands.
See Also