Skip to main content
Skip table of contents

PdfFileSpecification

PdfFileSpecification Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.PdfFileSpecification[[PdfFileSpecification]]
  iTextSharp.text.pdf.PdfDictionary[[PdfDictionary]]
  end
iTextSharp.text.pdf.PdfDictionary --> iTextSharp.text.pdf.PdfFileSpecification

Members

Properties

Public properties
TypeNameMethods
byte``[]MultiByteFileNameset
PdfIndirectReferenceReferenceget
boolVolatileset

Methods

Public Static methods
Public methods
ReturnsName
voidAddCollectionItem(PdfCollectionItem ci)
voidAddDescription(string description, bool unicode)
voidSetUnicodeFileName(string filename, bool unicode)
voidToPdf(PdfWriter writer, Stream os)

Details

Inheritance

Constructors

PdfFileSpecification

Source code

public PdfFileSpecification()

Methods

Url

Source code

public static PdfFileSpecification Url(PdfWriter writer, string url)
Arguments
TypeNameDescription
PdfWriterwriter
stringurl
FileEmbedded [1/5]

Source code

public static PdfFileSpecification FileEmbedded(PdfWriter writer, string filePath, string fileDisplay, byte[] fileStore)
Arguments
TypeNameDescription
PdfWriterwriter
stringfilePath
stringfileDisplay
byte``[]fileStore
FileEmbedded [2/5]

Source code

public static PdfFileSpecification FileEmbedded(PdfWriter writer, string filePath, string fileDisplay, byte[] fileStore, int compressionLevel)
Arguments
TypeNameDescription
PdfWriterwriter
stringfilePath
stringfileDisplay
byte``[]fileStore
intcompressionLevel
FileEmbedded [3/5]

Source code

public static PdfFileSpecification FileEmbedded(PdfWriter writer, string filePath, string fileDisplay, byte[] fileStore, bool compress)
Arguments
TypeNameDescription
PdfWriterwriter
stringfilePath
stringfileDisplay
byte``[]fileStore
boolcompress
FileEmbedded [4/5]

Source code

public static PdfFileSpecification FileEmbedded(PdfWriter writer, string filePath, string fileDisplay, byte[] fileStore, bool compress, string mimeType, PdfDictionary fileParameter)
Arguments
TypeNameDescription
PdfWriterwriter
stringfilePath
stringfileDisplay
byte``[]fileStore
boolcompress
stringmimeType
PdfDictionaryfileParameter
FileEmbedded [5/5]

Source code

public static PdfFileSpecification FileEmbedded(PdfWriter writer, string filePath, string fileDisplay, byte[] fileStore, string mimeType, PdfDictionary fileParameter, int compressionLevel)
Arguments
TypeNameDescription
PdfWriterwriter
stringfilePath
stringfileDisplay
byte``[]fileStore
stringmimeType
PdfDictionaryfileParameter
intcompressionLevel
FileExtern

Source code

public static PdfFileSpecification FileExtern(PdfWriter writer, string filePath)
Arguments
TypeNameDescription
PdfWriterwriter
stringfilePath
SetUnicodeFileName

Source code

public virtual void SetUnicodeFileName(string filename, bool unicode)
Arguments
TypeNameDescription
stringfilename
boolunicode
AddDescription

Source code

public virtual void AddDescription(string description, bool unicode)
Arguments
TypeNameDescription
stringdescription
boolunicode
AddCollectionItem

Source code

public virtual void AddCollectionItem(PdfCollectionItem ci)
Arguments
TypeNameDescription
PdfCollectionItemci
ToPdf

Source code

public override void ToPdf(PdfWriter writer, Stream os)
Arguments
TypeNameDescription
PdfWriterwriter
Streamos

Properties

Reference
public virtual PdfIndirectReference Reference { get; }
MultiByteFileName
public virtual byte MultiByteFileName { set; }
Volatile
public virtual bool Volatile { set; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.