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

In This Topic
    PdfImageBase Class Members
    In This Topic

    The following tables list the members exposed by PdfImageBase.

    Public Properties
     NameDescription
    Public PropertyGets the number of bits-per-pixel (BPP) for this image.  
    Public PropertyGets the height of the image in pixels.  
    Public PropertyGets 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 a value indicating whether the image is defined as a stencil mask for painting in the current color.  
    Public PropertyGets a value indicating whether the image is an inline image defined directly in a PDF content stream.  
    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 PropertyGets 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 PropertyGets 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.  
    Public MethodReturns 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).

     
    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.

     
    Top
    See Also