[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Graphics.Images.PdfInlineImage

Class PdfInlineImage

Namespace
GrapeCity.Documents.Pdf.Graphics.Images
Assembly
GcDocs.Pdf.dll

Represents a PDF Inline Image defined by BI, ID and EI operators in a PDF content stream.

public class PdfInlineImage : PdfImageBase, IPdfImage, IImage, IDisposable, IPdfDict
Inheritance
object
PdfInlineImage
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Extension Methods

Properties

BitsPerComponent

Gets the number of bits used to represent each color component in a sample. Valid values are 1, 2, 4, 8, and (in PDF 1.5) 16. Default value: 8.

public int BitsPerComponent { get; }

Property Value

int

BitsPerPixel

Gets the number of bits-per-pixel (BPP) for this image.

public override int BitsPerPixel { get; }

Property Value

int

Height

Gets the height of the image in pixels.

public override int Height { get; }

Property Value

int

HorizontalResolution

Gets the horizontal resolution of the image. If this property returns a value that is less or equal than 0, then the horizontal resolution is not specified for an image.

public override float HorizontalResolution { get; }

Property Value

float

ImageMask

Gets a value indicating whether the image is defined as a stencil mask for painting in the current color.

public override bool ImageMask { get; }

Property Value

bool

InlineImage

Gets a value indicating whether the image is an inline image defined directly in a PDF content stream.

public override bool InlineImage { get; }

Property Value

bool

VerticalResolution

Gets the vertical resolution of the image. If this property returns a value that is less or equal than 0, then the vertical resolution is not specified for an image.

public override float VerticalResolution { get; }

Property Value

float

Width

Gets the width of the image in pixels.

public override int Width { get; }

Property Value

int

Methods

GetCacheKey()

For internal use. Returns a key uniquely identifying the object in its GcPdfDocument, can return null if object can not be uniquely identified.

public override object GetCacheKey()

Returns

object

The key uniquely identifying the object.

GetImageStreamInfo()

Returns the GrapeCity.Documents.Pdf.Spec.PdfStreamObject containing unparsed image data and information about the PDF filter and decode parameters.

Note that not all derived classes support this method (for example, PdfImageHandler).

public override PdfStreamInfo GetImageStreamInfo()

Returns

PdfStreamInfo