Method SizeInPoints
- Namespace
- SoftZenPdf
- Assembly
- SoftZenPdf.dll
SizeInPoints(double)
The displayed size in points (1/72 inch) at the image's own resolution, taking the orientation into account.
Images without a stored resolution are measured at defaultResolution pixels per inch.
public (double Width, double Height) SizeInPoints(double defaultResolution = 96)
Parameters
defaultResolutiondoublePixels per inch to use when the file has no resolution. Defaults to 96, the usual screen resolution.
Returns
Exceptions
- ArgumentOutOfRangeException
defaultResolutionis not positive.