ImageSizePos Class

PDF File Writer

ImageSizePos Class

Image size and position class
Inheritance Hierarchy
SystemObject  PdfFileWriterImageSizePos

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public static class ImageSizePos

The ImageSizePos type exposes the following members.

Methods
  NameDescription
Public methodStatic memberImageArea(Int32, Int32, PdfRectangle, ContentAlignment)
Adjust image drawing area for both aspect ratio and content alignment
Public methodStatic memberImageArea(Int32, Int32, Double, Double, Double, Double, ContentAlignment)
Adjust image drawing area for both aspect ratio and content alignment
Public methodStatic memberImageSize
Calculate best fit to preserve aspect ratio
Top
Remarks
Delta X and Y are the adjustments to image position to meet the content alignment request.
See Also