Image Class

Provides information about an image in a PDF document.

public abstract class Image
Namespace
PdfToSvg
Package
PdfToSvg.NET (since v0.1.0)
Inheritance
System.Object PdfToSvg.Image

Constructors

ImageCreates a new Image instance.

Properties

ContentTypeGets the IANA media type for the image.
ExtensionRecommended file name extension (including leading ".") for this image.
HeightGets the height of the image in pixels as specified in the PDF metadata.
WidthGets the width of the image in pixels as specified in the PDF metadata.

Methods

GetContentGets the binary content of the image.
GetContentAsyncGets the binary content of the image asynchronously.
ToDataUrlGenerates a data URL for this image.
ToDataUrlAsyncGenerates a data URL for this image asynchronously.

See Also

PdfToSvg Namespace