Click or drag to resize

PdfImage GetPointSize Method (Single, Single, Single, Single)

Calculates size of the image in points.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
protected SizeF GetPointSize(
	float width,
	float height,
	float horizontalResolution,
	float verticalResolution
)

Parameters

width
Type: System Single
Width in pixels.
height
Type: System Single
Height in pixels.
horizontalResolution
Type: System Single
Horizontal resolution.
verticalResolution
Type: System Single
Vertical resolution.

Return Value

Type: SizeF
size of the image in points.
See Also