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