Namespace: PdfSharp.Drawing
Defines an abstract base class for pixel-based images.
public abstract class XBitmapSource : XImage, System.IDisposable
Inheritance Object → XImage → XBitmapSource
Implements IDisposable
Gets the width of the image in pixels.
public int PixelWidth { get; }
Gets the height of the image in pixels.
public int PixelHeight { get; }
Use either PixelWidth or PointWidth. Temporarily obsolete because of rearrangements for WPF. Currently same as PixelWidth, but will become PointWidth in future releases of PDFsharp.
Gets the width of the image.
public double Width { get; }
Use either PixelHeight or PointHeight. Temporarily obsolete because of rearrangements for WPF. Currently same as PixelHeight, but will become PointHeight in future releases of PDFsharp.
Gets the height of the image.
public double Height { get; }
Gets the width of the image in point.
public double PointWidth { get; }
Gets the height of the image in point.
public double PointHeight { get; }
Gets the size in point of the image.
public XSize Size { get; }
Gets the horizontal resolution of the image.
public double HorizontalResolution { get; }
Gets the vertical resolution of the image.
public double VerticalResolution { get; }
Gets or sets a flag indicating whether image interpolation is to be performed.
public bool Interpolate { get; set; }
Gets the format of the image.
public XImageFormat Format { get; }