[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Graphics.Images.PdfInlineImage

PdfInlineImage Class

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

Namespace: GrapeCity.Documents.Pdf.Graphics.Images
Assembly: DS.Documents.Pdf.dll
Syntax
public class PdfInlineImage : PdfImageBase, IPdfImage, IImage, IDisposable, IPdfDict
Public Class PdfInlineImage
    Inherits PdfImageBase
    Implements IPdfImage, IImage, IDisposable, IPdfDict

Properties

Name Description
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.

BitsPerPixel

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

Height

Gets the height of the image in pixels.

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.

ImageMask

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

InlineImage

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

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.

Width

Gets the width of the image in pixels.

Methods

Name Description
GetCacheKey()

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

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).

Extension Methods