Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Graphics.Images Namespace / PdfImageHandler Class
Properties Methods

In This Topic
    PdfImageHandler Class Members
    In This Topic

    The following tables list the members exposed by PdfImageHandler.

    Public Properties
     NameDescription
    Public PropertyGets the list of embedded files associated with this PdfImageObjectBase. (Inherited from GrapeCity.Documents.Pdf.Graphics.Images.PdfImageObjectBase)
    Public PropertyOverridden. Gets the resolution (bits-per-pixel, BPP) of this image.

    Note that the PdfImageHandler returns the resolution of the underlying image. In some cases a PDF image may not provide any info about its resolution, in such cases this property will return 0.

     
    Public PropertyOverridden. Gets the GrapeCity.Documents.Pdf.GcPdfDocument owning this object.  
    Public PropertyGets or sets the format used to encode the image associated with this PdfImageHandler.

    By default this property is unspecified (null), and the actual embedding mode is determined by GrapeCity.Documents.Pdf.GcPdfDocument.ImageOptions.

     
    Public PropertyOverridden. Gets the height of the image in pixels.  
    Public PropertyOverridden. 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 PropertyGets the GrapeCity.Documents.Drawing.IImage object managed by this PdfImageHandler object.  
    Public PropertyGets a value indicating whether the image is defined as a stencil mask for painting in the current color. (Inherited from GrapeCity.Documents.Pdf.Graphics.Images.PdfImageBase)
    Public PropertyGets a value indicating whether the image is an inline image defined directly in a PDF content stream. (Inherited from GrapeCity.Documents.Pdf.Graphics.Images.PdfImageBase)
    Public PropertyGets the PDF object ID. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfDict. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfDictWrapper)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfObject. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapper<IPdfDict>)
    Public PropertyOverridden. 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 PropertyOverridden. Gets the width of the image in pixels.  
    Top
    Public Methods
     NameDescription
    Public MethodFor internal use. Returns a key uniquely identifying the object in its GrapeCity.Documents.Pdf.GcPdfDocument, can return null if object can not be uniquely identified. (Inherited from GrapeCity.Documents.Pdf.Graphics.Images.PdfImageBase)
    Public MethodOverridden. 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 MethodCreates and returns a GrapeCity.Documents.Imaging.GcBitmap object representing the current PdfImageBase object.

    IMPORTANT NOTE: the returned bitmap must be disposed after use.

    An image in a PDF can be specified as an "image mask" (see ImageMask), in which case the image data is used as a stencil mask for painting in the current color specified by currentUnmaskedColor, maskedColor specifies the color of the area excluded from filling (it is transparent in most cases).

    (Inherited from GrapeCity.Documents.Pdf.Graphics.Images.PdfImageBase)
    Public MethodGets the System.IO.Stream object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the GrapeCity.Documents.Pdf.Spec.PdfStreamInfo object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodRetrieves the underlying GrapeCity.Documents.Imaging.GcBitmap object, or creates a new GrapeCity.Documents.Imaging.GcBitmap that contains the image data.

    Note that you should dispose the returned GrapeCity.Documents.Imaging.GcBitmap if disposeAfterUse is true.

    (Inherited from GrapeCity.Documents.Pdf.Graphics.Images.PdfImageBase)
    Top
    See Also