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:

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

HeightGets the pixel height of the PNG image.
HorizontalDpiGets the horizontal dpi (also known as pixels per inch) of the image data.
(Inherited from ImageData)
InterpolateGets or set a value indicating is image interpolation should be used by the PDF viewer when viewing the Image.
(Inherited from ImageData)
RequiredPdfObjectsGets the number of PDF objects required by the PNG image data.
ResourceTypeGets the type of resource.
(Inherited from ImageData)
ScaleXGets the X scale of the image.
ScaleYGets the Y scale of the image.
UidGets the unique ID of the resource.
(Inherited from Resource)
VerticalDpiGets the vertical dpi (also known as pixels per inch) of the image data.
(Inherited from ImageData)
WidthGets 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)

See Also

ceTe.DynamicPDF.Imaging

In this topic