HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.pdf.PdfImage Class Reference
Inheritance diagram for iTextSharp.text.pdf.PdfImage:
iTextSharp.text.pdf.PdfStream iTextSharp.text.pdf.PdfDictionary iTextSharp.text.pdf.PdfObject

Public Member Functions

 PdfImage (Image image, String name, PdfIndirectReference maskRef)
 
- Public Member Functions inherited from iTextSharp.text.pdf.PdfStream
 PdfStream (byte[] bytes)
 
 PdfStream (Stream inputStream, PdfWriter writer)
 
void WriteLength ()
 
void FlateCompress ()
 
void FlateCompress (int compressionLevel)
 
override void ToPdf (PdfWriter writer, Stream os)
 
void WriteContent (Stream os)
 
override String ToString ()
 
- Public Member Functions inherited from iTextSharp.text.pdf.PdfDictionary
 PdfDictionary ()
 
 PdfDictionary (PdfName type)
 
void Put (PdfName key, PdfObject value)
 
void PutEx (PdfName key, PdfObject value)
 
void Remove (PdfName key)
 
PdfObject Get (PdfName key)
 
bool IsFont ()
 
bool IsPage ()
 
bool IsPages ()
 
bool IsCatalog ()
 
bool IsOutlineTree ()
 
void Merge (PdfDictionary other)
 
void MergeDifferent (PdfDictionary other)
 
bool Contains (PdfName key)
 
virtual IDictionaryEnumerator GetEnumerator ()
 
override String ToString ()
 
PdfObject GetDirectObject (PdfName key)
 
PdfDictionary GetAsDict (PdfName key)
 
PdfArray GetAsArray (PdfName key)
 
PdfStream GetAsStream (PdfName key)
 
PdfString GetAsString (PdfName key)
 
PdfNumber GetAsNumber (PdfName key)
 
PdfName GetAsName (PdfName key)
 
PdfBoolean GetAsBoolean (PdfName key)
 
PdfIndirectReference GetAsIndirectObject (PdfName key)
 
- Public Member Functions inherited from iTextSharp.text.pdf.PdfObject
virtual byte[] GetBytes ()
 
bool CanBeInObjStm ()
 
override string ToString ()
 
bool IsNull ()
 
bool IsBoolean ()
 
bool IsNumber ()
 
bool IsString ()
 
bool IsName ()
 
bool IsArray ()
 
bool IsDictionary ()
 
bool IsStream ()
 
bool IsIndirect ()
 

Protected Member Functions

void ImportAll (PdfImage dup)
 
- Protected Member Functions inherited from iTextSharp.text.pdf.PdfStream
 PdfStream ()
 
virtual void SuperToPdf (PdfWriter writer, Stream os)
 
- Protected Member Functions inherited from iTextSharp.text.pdf.PdfObject
 PdfObject (int type)
 
 PdfObject (int type, string content)
 
 PdfObject (int type, byte[] bytes)
 

Protected Attributes

PdfName name = null
 
- Protected Attributes inherited from iTextSharp.text.pdf.PdfStream
bool compressed = false
 
int compressionLevel = NO_COMPRESSION
 
MemoryStream streamBytes = null
 
Stream inputStream
 
PdfIndirectReference iref
 
int inputStreamLength = -1
 
PdfWriter writer
 
int rawLength
 
- Protected Attributes inherited from iTextSharp.text.pdf.PdfObject
byte[] bytes
 
int type
 
PRIndirectReference indRef
 

Properties

PdfName Name [get]
 
- Properties inherited from iTextSharp.text.pdf.PdfStream
int RawLength [get]
 
- Properties inherited from iTextSharp.text.pdf.PdfDictionary
ICollection Keys [get]
 
int Size [get]
 
- Properties inherited from iTextSharp.text.pdf.PdfObject
int Length [get]
 
string Content [set]
 
int Type [get]
 
PRIndirectReference IndRef [get, set]
 

Additional Inherited Members

- Static Public Attributes inherited from iTextSharp.text.pdf.PdfStream
const int DEFAULT_COMPRESSION = -1
 
const int NO_COMPRESSION = 0
 
const int BEST_SPEED = 1
 
const int BEST_COMPRESSION = 9
 
- Static Public Attributes inherited from iTextSharp.text.pdf.PdfDictionary
static PdfName FONT = PdfName.FONT
 
static PdfName OUTLINES = PdfName.OUTLINES
 
static PdfName PAGE = PdfName.PAGE
 
static PdfName PAGES = PdfName.PAGES
 
static PdfName CATALOG = PdfName.CATALOG
 
- Static Public Attributes inherited from iTextSharp.text.pdf.PdfObject
const int BOOLEAN = 1
 
const int NUMBER = 2
 
const int STRING = 3
 
const int NAME = 4
 
const int ARRAY = 5
 
const int DICTIONARY = 6
 
const int STREAM = 7
 
const int NULL = 8
 
const int INDIRECT = 10
 
const string NOTHING = ""
 
const string TEXT_PDFDOCENCODING = "PDF"
 
const string TEXT_UNICODE = "UnicodeBig"
 

Detailed Description

PdfImage is a PdfStream containing an image-Dictionary and -stream.

Constructor & Destructor Documentation

◆ PdfImage()

iTextSharp.text.pdf.PdfImage.PdfImage ( Image  image,
String  name,
PdfIndirectReference  maskRef 
)

Constructs a PdfImage-object.

Parameters
imagethe Image-object
namethe PdfName for this image
Exceptions
BadPdfFormatExceptionon error

Member Function Documentation

◆ ImportAll()

void iTextSharp.text.pdf.PdfImage.ImportAll ( PdfImage  dup)
protected

Member Data Documentation

◆ name

PdfName iTextSharp.text.pdf.PdfImage.name = null
protected

This is the PdfName of the image.

Property Documentation

◆ Name

PdfName iTextSharp.text.pdf.PdfImage.Name
get

Returns the PdfName of the image.

Returns
the name

The documentation for this class was generated from the following file: