PdfImage.ImageSize Method (Double, Double)

PDF File Writer

PdfImageImageSize Method (Double, Double)

Calculates image size to preserve aspect ratio.

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public SizeD ImageSize(
	double Width,
	double Height
)

Parameters

Width
Type: SystemDouble
Image display width.
Height
Type: SystemDouble
Image display height.

Return Value

Type: SizeD
Adjusted image display area.
Remarks
Calculates best fit to preserve aspect ratio.
See Also