PDF File Writer Class Library - Author Uzi Granot
PdfImage Class |
PDF Image class
Inheritance Hierarchy
Namespace: PdfFileWriter
Assembly: PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public class PdfImage : PdfObject, IDisposable
The PdfImage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PdfImage(PdfDocument) |
PdfImage constructor
| |
PdfImage(PdfDocument, Pdf417Encoder) | Obsolete. Initializes a new instance of the PdfImage class | |
PdfImage(PdfDocument, QREncoder) | Obsolete. Initializes a new instance of the PdfImage class | |
PdfImage(PdfDocument, Boolean, PdfImageControl) | Obsolete. Initializes a new instance of the PdfImage class | |
PdfImage(PdfDocument, Image, PdfImageControl) | Obsolete. Initializes a new instance of the PdfImage class | |
PdfImage(PdfDocument, String, PdfImageControl) | Obsolete. Initializes a new instance of the PdfImage class |
Properties
Name | Description | |
---|---|---|
Document |
PDF document object
(Inherited from PdfObject.) | |
GrayToBWCutoff |
Gray to BW cutoff level
| |
HeightPix |
Gets image height in pixels
| |
ImageQuality |
Gets or sets Jpeg image quality
| |
Resolution |
Set output resolution
| |
ScaleFactor |
Scale factor
(Inherited from PdfObject.) | |
WidthPix |
Gets image width in pixels
|
Methods
Name | Description | |
---|---|---|
CompareTo |
Compare the resource codes of two PDF objects.
(Inherited from PdfObject.) | |
Dispose |
Dispose unmanaged resources
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ImageSize(SizeD) |
Calculates image size to preserve aspect ratio.
| |
ImageSize(Double, Double) |
Calculates image size to preserve aspect ratio.
| |
ImageSizePosition(SizeD, ContentAlignment) |
Calculates image size to preserve aspect ratio and sets position.
| |
ImageSizePosition(Double, Double, ContentAlignment) |
Calculates image size to preserve aspect ratio and sets position.
| |
LoadImage(Boolean) |
Load image from black and white bool matrix
| |
LoadImage(Image) |
Load image from Image derived class (Bitmap)
| |
LoadImage(String) |
Load image from file
| |
LoadImage(Pdf417Encoder) |
Load image fro Pdf417Encoder
| |
LoadImage(QREncoder) |
Load image from QRCode encoder
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
_Resolution |
Image resolution
| |
CropPercent |
Crop image rectangle (percent of image size)
| |
CropRect |
Crop image rectangle (image pixels)
| |
DefaultQuality |
Default Jpeg image quality
| |
LayerControl |
Layer control
| |
ReverseBW |
Reverse black and white (SaveImageAs.BWImage)
| |
SaveAs |
Save image as
|
Remarks
For more information go to 2.4 Image Support
For example of drawing image see 3.9. Draw Image and Clip it
See Also