PDF File Writer Class Library - Author Uzi Granot
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)

C#
public SizeD ImageSize( double Width, double Height )
Parameters
- Width
- Type: SystemDouble
Image display width. - Height
- Type: SystemDouble
Image display height.
Return Value
Type: SizeDAdjusted image display area.

Calculates best fit to preserve aspect ratio.
