Defines an object used to draw image files (bmp, png, jpeg, gif) and PDF forms. An abstract base class that provides functionality for the Bitmap and Metafile descended classes.
More...
Defines an object used to draw image files (bmp, png, jpeg, gif) and PDF forms. An abstract base class that provides functionality for the Bitmap and Metafile descended classes.
◆ XImage()
| PdfSharp.Drawing.XImage.XImage |
( |
| ) |
|
|
protected |
Initializes a new instance of the XImage class.
◆ Dispose() [1/2]
| void PdfSharp.Drawing.XImage.Dispose |
( |
| ) |
|
◆ Dispose() [2/2]
| virtual void PdfSharp.Drawing.XImage.Dispose |
( |
bool |
disposing | ) |
|
|
protectedvirtual |
◆ ExistsFile()
| static bool PdfSharp.Drawing.XImage.ExistsFile |
( |
string |
path | ) |
|
|
static |
Tests if a file exist. Supports PDF files with page number suffix.
- Parameters
-
| path | The path to a BMP, PNG, GIF, JPEG, TIFF, or PDF file. |
◆ FromFile()
| static XImage PdfSharp.Drawing.XImage.FromFile |
( |
string |
path | ) |
|
|
static |
Creates an image from the specified file.
- Parameters
-
| path | The path to a BMP, PNG, GIF, JPEG, TIFF, or PDF file. |
◆ FromGdiPlusImage()
| static XImage PdfSharp.Drawing.XImage.FromGdiPlusImage |
( |
Image |
image | ) |
|
|
static |
Conversion from Image to XImage.
◆ Format
Gets the format of the image.
◆ Height
| virtual double PdfSharp.Drawing.XImage.Height |
|
get |
Gets the height of the image.
◆ HorizontalResolution
| virtual double PdfSharp.Drawing.XImage.HorizontalResolution |
|
get |
Gets the horizontal resolution of the image.
◆ Interpolate
| virtual bool PdfSharp.Drawing.XImage.Interpolate |
|
getset |
Gets or sets a flag indicating whether image interpolation is to be performed.
◆ PixelHeight
| virtual int PdfSharp.Drawing.XImage.PixelHeight |
|
get |
Gets the height of the image in pixels.
◆ PixelWidth
| virtual int PdfSharp.Drawing.XImage.PixelWidth |
|
get |
Gets the width of the image in pixels.
◆ PointHeight
| virtual double PdfSharp.Drawing.XImage.PointHeight |
|
get |
Gets the height of the image in point.
◆ PointWidth
| virtual double PdfSharp.Drawing.XImage.PointWidth |
|
get |
Gets the width of the image in point.
◆ Size
| virtual XSize PdfSharp.Drawing.XImage.Size |
|
get |
Gets the size in point of the image.
◆ VerticalResolution
| virtual double PdfSharp.Drawing.XImage.VerticalResolution |
|
get |
Gets the vertical resolution of the image.
◆ Width
| virtual double PdfSharp.Drawing.XImage.Width |
|
get |
Gets the width of the image.
The documentation for this class was generated from the following file: