[]
Tests two sizes for equality allowing a small margin for rounding errors.
public static bool SamePaperSizes(Size size1, Size size2)
Type | Name | Description |
---|---|---|
Size | size1 | The first size to compare. |
Size | size2 | The second size to compare. |
Type | Description |
---|---|
bool | True if the two sizes are reasonably close, false otherwise. |