PngImageData
Represents the data of a PNG image.
public class PngImageData : ImageData
Public Class PngImageData
Inherits ImageData
Inheritance: ObjectResourceImageDataPngImageData
Licensing Info
This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Constructors
PngImageData(Byte[]) | Initializes a new instance of the PngImageData class. |
PngImageData(Stream) | Initializes a new instance of the PngImageData class. |
PngImageData(String) | Initializes a new instance of the PngImageData class. |
Properties
Height | Gets the pixel height of the PNG image. |
HorizontalDpi | Gets the horizontal dpi (also known as pixels per inch) of the image data. (Inherited from ImageData) |
Interpolate | Gets or set a value indicating is image interpolation should be used by the PDF viewer when viewing the Image. (Inherited from ImageData) |
RequiredPdfObjects | Gets the number of PDF objects required by the PNG image data. |
ResourceType | Gets the type of resource. (Inherited from ImageData) |
ScaleX | Gets the X scale of the image. |
ScaleY | Gets the Y scale of the image. |
Uid | Gets the unique ID of the resource. (Inherited from Resource) |
VerticalDpi | Gets the vertical dpi (also known as pixels per inch) of the image data. (Inherited from ImageData) |
Width | Gets the pixel width of the PNG image. |
Methods
Draw(DocumentWriter) | Draws the PNG image data to the given DocumentWriter object. |
Draw(OperatorWriter, Single, Single, Single, Single) | Draws the image data to the given PageWriter object. (Inherited from ImageData) |
Equals(Object) | Determines whether the specified Object is equal to the current Object . (Inherited from Object) |
GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object) |
GetPage() | Returns a Page object containing the image as a background. (Inherited from ImageData) |
GetPage(Single) | Returns a Page object containing the image as a background. (Inherited from ImageData) |
GetPointHeight() | Calculates the height of the image in points. (Inherited from ImageData) |
GetPointWidth() | Calculates the width of the image in points. (Inherited from ImageData) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
IsValid(Byte[]) | Returns a value indicating if the provides file header is valid for a PNG image. |
IsValid(String) | Returns a value indicating if the provides file extension is valid for a PNG image. |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |