| PdfSizeFitToSize Method |
Scale to fit given size while maintaining the aspect ratio.
Namespace:
Opait.Pdf.Api
Assembly:
Opait.Pdf.Api (in Opait.Pdf.Api.dll) Version: 1.3.3.0
Syntax public PdfSize FitToSize(
double width,
double height
)
Parameters
- width
- Type: SystemDouble
The maximum desired width. - height
- Type: SystemDouble
The maximum desired height.
Return Value
Type:
PdfSizeThe scaled size.
See Also