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
)
Protected Function GetPointSize (
width As Single,
height As Single,
horizontalResolution As Single,
verticalResolution As Single
) As SizeF
protected:
SizeF GetPointSize(
float width,
float height,
float horizontalResolution,
float verticalResolution
)
member GetPointSize :
width : float32 *
height : float32 *
horizontalResolution : float32 *
verticalResolution : float32 -> SizeF
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