PdfImage Class

Class for an image that is suitable for use with PDF document.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.PdfImage

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public sealed class PdfImage
VB
Public NotInheritable Class PdfImage

The PdfImage type exposes the following members.

Properties

  NameDescription
Public propertyBitsPerComponent
Gets the number of bits used to describe each color component of this PdfImage.
Public propertyComponentCount
Gets the number of color components in this PdfImage.
Public propertyCompression
Gets the compression scheme of this PdfImage.
Public propertyDpiX
Gets the horizontal resolution, in pixels per inch, of this PdfImage.
Public propertyDpiY
Gets the vertical resolution, in pixels per inch, of this PdfImage.
Public propertyHasMask
Gets a value indicating whether this PdfImage has associated mask color, a stencil mask image or a soft mask.
Public propertyHeight
Gets the height, in pixels, of this PdfImage.
Public propertyId
Gets the identifier of this image in this PdfDocument.
Public propertyInterpolateWhenDrawn
Gets or sets a value indicating whether an image interpolation algorithm should be applied during rendering of this image.
Public propertyIsInline
Gets a value indicating whether this PdfImage is an inline image.
Public propertyIsMask
Gets a value indicating whether this PdfImage is a stencil mask image.
Public propertyMask
Gets or sets the mask image for this PdfImage.
Public propertyStream
Gets the low-level stream object for this image object.
Public propertyUseMaskInverted
Gets or sets a value indicating whether the bits of the mask image of this PdfImage should be inverted.
Public propertyWidth
Gets the width, in pixels, of this PdfImage.

Methods

  NameDescription
Public methodConvertToMask
Converts this PdfImage into a mask image.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Overrides Object.Equals(Object).)
Public methodGetHashCode
Serves as a hash function for a this type.
(Overrides Object.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodMakeTransparent
Makes the specified color transparent for this PdfImage.
Public methodRecompressWithFlate()
Recompresses image data using zlib/deflate compression method.
Public methodRecompressWithFlate(Int32)
Recompresses image data using zlib/deflate compression method and specified compression quality.
Public methodRecompressWithGroup3Fax()
Recompresses image data using Group 3 CCITT facsimile (fax) encoding.
Public methodRecompressWithGroup3Fax(Int32)
Recompresses image data using Group 3 CCITT facsimile (fax) encoding and specified threshold level.
Public methodRecompressWithGroup4Fax()
Recompresses image data using Group 4 CCITT facsimile (fax) encoding.
Public methodRecompressWithGroup4Fax(Int32)
Recompresses image data using Group 4 CCITT facsimile (fax) encoding and specified threshold level.
Public methodRecompressWithJpeg()
Recompresses image data using JPEG baseline format.
Public methodRecompressWithJpeg(Int32)
Recompresses image data using JPEG baseline format and specified compression quality.
Public methodRecompressWithJpeg2000()
Recompresses image data using JPEG 2000 format.
Public methodRecompressWithJpeg2000(Int32)
Recompresses image data using JPEG 2000 format and specified compression ratio.
Public methodReplaceWith(Byte[])
Replaces image with the image bytes.
Public methodReplaceWith(Stream)
Replaces image with the image in the stream.
Public methodReplaceWith(String)
Replaces image with the image in the file.
Public methodResizeTo(Int32, Int32, PdfImageCompression)
Resizes image to specified width and height and compresses it using specified compression scheme.
Public methodResizeTo(Int32, Int32, PdfImageCompression, Int32)
Resizes image to specified width and height and compresses it using specified compression scheme.
Public methodSave(Stream)
Saves the image to the specified stream.
Public methodSave(String)
Saves the image to the file with specified name.
Public methodScale(Double, PdfImageCompression)
Scales image using specified scale factor and compresses it using specified compression scheme.
Public methodScale(Double, PdfImageCompression, Int32)
Scales image using specified scale factor and compresses it using specified compression scheme.
Public methodToString (Inherited from Object.)
Public methodUncompress
Uncompresses image data.

Operators

  NameDescription
Public operatorStatic memberEquality
Determines whether the two specified objects are equal to each other.
Public operatorStatic memberInequality
Determines whether the two specified objects are not equal to each other.

See Also