PDF File Writer Class Library - Author Uzi Granot
ImageSizePos Class |
Image size and position class

Namespace: PdfFileWriter
Assembly: PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)

C#
public static class ImageSizePos
The ImageSizePos type exposes the following members.

Name | Description | |
---|---|---|
![]() ![]() | ImageArea(Int32, Int32, PdfRectangle, ContentAlignment) |
Adjust image drawing area for both aspect ratio and content alignment
|
![]() ![]() | ImageArea(Int32, Int32, Double, Double, Double, Double, ContentAlignment) |
Adjust image drawing area for both aspect ratio and content alignment
|
![]() ![]() | ImageSize |
Calculate best fit to preserve aspect ratio
|

Delta X and Y are the adjustments to image position to
meet the content alignment request.
