Click or drag to resize

PdfImage GetPixelSize Method

Calculates the width and height of the image.

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

Parameters

width
Type: System Single
Width of the image in points.
height
Type: System Single
Height of the image in points.

Return Value

Type: SizeF
Calculates the width and height of the image.
See Also