PdfWriter Public class
Diagram
flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.PdfWriter[[PdfWriter]] end subgraph iTextSharp.text.pdf.interfaces iTextSharp.text.pdf.interfaces.IPdfViewerPreferences[[IPdfViewerPreferences]] class iTextSharp.text.pdf.interfaces.IPdfViewerPreferences interfaceStyle; iTextSharp.text.pdf.interfaces.IPdfEncryptionSettings[[IPdfEncryptionSettings]] class iTextSharp.text.pdf.interfaces.IPdfEncryptionSettings interfaceStyle; iTextSharp.text.pdf.interfaces.IPdfVersion[[IPdfVersion]] class iTextSharp.text.pdf.interfaces.IPdfVersion interfaceStyle; iTextSharp.text.pdf.interfaces.IPdfDocumentActions[[IPdfDocumentActions]] class iTextSharp.text.pdf.interfaces.IPdfDocumentActions interfaceStyle; iTextSharp.text.pdf.interfaces.IPdfPageActions[[IPdfPageActions]] class iTextSharp.text.pdf.interfaces.IPdfPageActions interfaceStyle; iTextSharp.text.pdf.interfaces.IPdfIsoConformance[[IPdfIsoConformance]] class iTextSharp.text.pdf.interfaces.IPdfIsoConformance interfaceStyle; iTextSharp.text.pdf.interfaces.IPdfRunDirection[[IPdfRunDirection]] class iTextSharp.text.pdf.interfaces.IPdfRunDirection interfaceStyle; iTextSharp.text.pdf.interfaces.IPdfAnnotations[[IPdfAnnotations]] class iTextSharp.text.pdf.interfaces.IPdfAnnotations interfaceStyle; end subgraph iTextSharp.text iTextSharp.text.DocWriter[[DocWriter]] class iTextSharp.text.DocWriter abstractStyle; end iTextSharp.text.pdf.interfaces.IPdfViewerPreferences --> iTextSharp.text.pdf.PdfWriter iTextSharp.text.pdf.interfaces.IPdfEncryptionSettings --> iTextSharp.text.pdf.PdfWriter iTextSharp.text.pdf.interfaces.IPdfVersion --> iTextSharp.text.pdf.PdfWriter iTextSharp.text.pdf.interfaces.IPdfDocumentActions --> iTextSharp.text.pdf.PdfWriter iTextSharp.text.pdf.interfaces.IPdfPageActions --> iTextSharp.text.pdf.PdfWriter iTextSharp.text.pdf.interfaces.IPdfIsoConformance --> iTextSharp.text.pdf.PdfWriter iTextSharp.text.pdf.interfaces.IPdfRunDirection --> iTextSharp.text.pdf.PdfWriter iTextSharp.text.pdf.interfaces.IPdfAnnotations --> iTextSharp.text.pdf.PdfWriter iTextSharp.text.DocWriter --> iTextSharp.text.pdf.PdfWriter
Members
Properties
Internal properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Public properties
Protected internal properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
Methods
Protected methods
|
Returns |
Name |
|---|---|
|
|
(
icc) |
|
|
() |
|
|
() |
|
|
(
catalog) |
|
|
( |
|
|
(
rootObj) |
|
|
() |
|
|
(
reader) |
Public methods
Internal methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
(
annot, |
|
|
(
template,
forcedName) |
|
|
( |
|
|
( |
|
|
(
gstate) |
|
|
(
painter) |
|
|
(
color) |
|
|
(
refi) |
|
|
(
shading) |
|
|
(
shading) |
|
|
(
fonts) |
|
|
() |
|
|
() |
|
|
() |
|
|
(
name) |
|
|
() |
|
|
(
reader) |
|
|
( |
|
|
(
layer) |
|
|
() |
Protected internal methods
|
Returns |
Name |
|---|---|
|
|
(
iobj) |
|
|
( |
|
|
(
reader, |
|
|
( |
|
|
() |
|
|
(
catalog, |
Public Static methods
|
Returns |
Name |
|---|---|
|
|
(
writer, |
|
|
( |
Protected Static methods
|
Returns |
Name |
|---|---|
|
|
(
dic,
key) |
|
|
( |
Details
Inheritance
-
IPdfViewerPreferences -
IPdfEncryptionSettings -
IPdfVersion -
IPdfDocumentActions -
IPdfPageActions -
IPdfIsoConformance -
IPdfRunDirection -
IPdfAnnotations -
DocWriter
Nested types
Classes
-
PdfBody -
PdfTrailer
Constructors
PdfWriter [1/2]
Source code
protected PdfWriter()
PdfWriter [2/2]
Source code
protected PdfWriter(PdfDocument document, Stream os)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
document |
|
|
|
os |
Methods
GetCounter
Source code
protected virtual ICounter GetCounter()
GetInstance [1/2]
Source code
public static PdfWriter GetInstance(Document document, Stream os)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
document |
|
|
|
os |
GetInstance [2/2]
Source code
public static PdfWriter GetInstance(Document document, Stream os, IDocListener listener)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
document |
|
|
|
os |
|
|
|
listener |
GetVerticalPosition
Source code
public virtual float GetVerticalPosition(bool ensureNewLine)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
ensureNewLine |
ResetContent
Source code
internal void ResetContent()
AddLocalDestinations
Source code
internal void AddLocalDestinations(SortedDictionary<string, Destination> desto)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
desto |
AddToBody [1/6]
Source code
public virtual PdfIndirectObject AddToBody(PdfObject objecta)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
objecta |
AddToBody [2/6]
Source code
public virtual PdfIndirectObject AddToBody(PdfObject objecta, bool inObjStm)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
objecta |
|
|
|
inObjStm |
AddToBody [3/6]
Source code
public virtual PdfIndirectObject AddToBody(PdfObject objecta, PdfIndirectReference refa)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
objecta |
|
|
|
refa |
AddToBody [4/6]
Source code
public virtual PdfIndirectObject AddToBody(PdfObject objecta, PdfIndirectReference refa, bool inObjStm)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
objecta |
|
|
|
refa |
|
|
|
inObjStm |
AddToBody [5/6]
Source code
public virtual PdfIndirectObject AddToBody(PdfObject objecta, int refNumber)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
objecta |
|
|
|
refNumber |
AddToBody [6/6]
Source code
public virtual PdfIndirectObject AddToBody(PdfObject objecta, int refNumber, bool inObjStm)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
objecta |
|
|
|
refNumber |
|
|
|
inObjStm |
CacheObject
Source code
protected internal virtual void CacheObject(PdfIndirectObject iobj)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
iobj |
GetCatalog
Source code
protected virtual PdfDictionary GetCatalog(PdfIndirectReference rootObj)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
rootObj |
BuildStructTreeRootForTagged
Source code
protected virtual void BuildStructTreeRootForTagged(PdfDictionary catalog)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
catalog |
AddPageDictEntry
Source code
public virtual void AddPageDictEntry(PdfName key, PdfObject obj)
Arguments
ResetPageDictEntries
Source code
public virtual void ResetPageDictEntries()
SetLinearPageMode
Source code
public virtual void SetLinearPageMode()
ReorderPages
Source code
public virtual int ReorderPages(int[] order)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
order |
GetPageReference
Source code
public virtual PdfIndirectReference GetPageReference(int page)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
page |
SetPageViewport
Source code
public virtual void SetPageViewport(PdfArray vp)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
vp |
Add [1/3]
Source code
internal virtual PdfIndirectReference Add(PdfPage page, PdfContents contents)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
page |
|
|
|
contents |
Open
Source code
public override void Open()
Close
Source code
public override void Close()
AddXFormsToBody
Source code
protected virtual void AddXFormsToBody()
AddSharedObjectsToBody
Source code
protected virtual void AddSharedObjectsToBody()
WriteOutlines
Source code
protected internal virtual void WriteOutlines(PdfDictionary catalog, bool namedAsNames)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
catalog |
|
|
|
namedAsNames |
SetAtLeastPdfVersion
Source code
public virtual void SetAtLeastPdfVersion(char version)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
version |
SetPdfVersion
Source code
public virtual void SetPdfVersion(PdfName version)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
version |
AddDeveloperExtension
Source code
public virtual void AddDeveloperExtension(PdfDeveloperExtension de)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
de |
GetPdfVersion
Source code
internal PdfVersionImp GetPdfVersion()
AddViewerPreference
Source code
public virtual void AddViewerPreference(PdfName key, PdfObject value)
Arguments
AddNamedDestinations
Source code
public virtual void AddNamedDestinations(IDictionary<string, string> map, int page_offset)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
map |
|
|
|
page_offset |
AddNamedDestination
Source code
public virtual void AddNamedDestination(string name, int page, PdfDestination dest)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
name |
|
|
|
page |
|
|
|
dest |
AddJavaScript [1/6]
Source code
public virtual void AddJavaScript(PdfAction js)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
js |
AddJavaScript [2/6]
Source code
public virtual void AddJavaScript(string code, bool unicode)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
code |
|
|
|
unicode |
AddJavaScript [3/6]
Source code
public virtual void AddJavaScript(string code)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
code |
AddJavaScript [4/6]
Source code
public virtual void AddJavaScript(string name, PdfAction js)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
name |
|
|
|
js |
AddJavaScript [5/6]
Source code
public virtual void AddJavaScript(string name, string code, bool unicode)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
name |
|
|
|
code |
|
|
|
unicode |
AddJavaScript [6/6]
Source code
public virtual void AddJavaScript(string name, string code)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
name |
|
|
|
code |
AddFileAttachment [1/3]
Source code
public virtual void AddFileAttachment(string description, byte[] fileStore, string file, string fileDisplay)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
description |
|
|
|
fileStore |
|
|
|
file |
|
|
|
fileDisplay |
AddFileAttachment [2/3]
Source code
public virtual void AddFileAttachment(string description, PdfFileSpecification fs)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
description |
|
|
|
fs |
AddFileAttachment [3/3]
Source code
public virtual void AddFileAttachment(PdfFileSpecification fs)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
fs |
SetOpenAction [1/2]
Source code
public virtual void SetOpenAction(string name)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
name |
SetOpenAction [2/2]
Source code
public virtual void SetOpenAction(PdfAction action)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
action |
SetAdditionalAction
Source code
public virtual void SetAdditionalAction(PdfName actionType, PdfAction action)
Arguments
AddAnnotation [1/2]
Source code
public virtual void AddAnnotation(PdfAnnotation annot)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
annot |
AddAnnotation [2/2]
Source code
internal virtual void AddAnnotation(PdfAnnotation annot, int page)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
annot |
|
|
|
page |
AddCalculationOrder
Source code
public virtual void AddCalculationOrder(PdfFormField annot)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
annot |
SetLanguage
Source code
public virtual void SetLanguage(string language)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
language |
CreateXmpMetadata
Source code
public virtual void CreateXmpMetadata()
InitPdfIsoConformance
Source code
public virtual IPdfIsoConformance InitPdfIsoConformance()
IsPdfIso
Source code
public virtual bool IsPdfIso()
IsPdfX
Source code
public virtual bool IsPdfX()
SetOutputIntents [1/3]
Source code
public virtual void SetOutputIntents(string outputConditionIdentifier, string outputCondition, string registryName, string info, ICC_Profile colorProfile)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outputConditionIdentifier |
|
|
|
outputCondition |
|
|
|
registryName |
|
|
|
info |
|
|
|
colorProfile |
SetOutputIntents [2/3]
Source code
public virtual void SetOutputIntents(string outputConditionIdentifier, string outputCondition, string registryName, string info, byte[] destOutputProfile)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outputConditionIdentifier |
|
|
|
outputCondition |
|
|
|
registryName |
|
|
|
info |
|
|
|
destOutputProfile |
SetOutputIntents [3/3]
Source code
public virtual bool SetOutputIntents(PdfReader reader, bool checkExistence)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
|
|
|
checkExistence |
GetNameString
Source code
protected static string GetNameString(PdfDictionary dic, PdfName key)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
dic |
|
|
|
key |
SetEncryption [1/5]
Source code
public virtual void SetEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
userPassword |
|
|
|
ownerPassword |
|
|
|
permissions |
|
|
|
encryptionType |
SetEncryption [2/5]
Source code
public virtual void SetEncryption(X509Certificate[] certs, int[] permissions, int encryptionType)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
certs |
|
|
|
permissions |
|
|
|
encryptionType |
SetEncryption [3/5]
Source code
public virtual void SetEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, bool strength128Bits)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
userPassword |
|
|
|
ownerPassword |
|
|
|
permissions |
|
|
|
strength128Bits |
SetEncryption [4/5]
Source code
public virtual void SetEncryption(bool strength, string userPassword, string ownerPassword, int permissions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
strength |
|
|
|
userPassword |
|
|
|
ownerPassword |
|
|
|
permissions |
SetEncryption [5/5]
Source code
public virtual void SetEncryption(int encryptionType, string userPassword, string ownerPassword, int permissions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
encryptionType |
|
|
|
userPassword |
|
|
|
ownerPassword |
|
|
|
permissions |
SetFullCompression
Source code
public virtual void SetFullCompression()
AddSimple [1/2]
Source code
internal FontDetails AddSimple(BaseFont bf)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
bf |
EliminateFontSubset
Source code
internal void EliminateFontSubset(PdfDictionary fonts)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
fonts |
AddDirectTemplateSimple
Source code
internal PdfName AddDirectTemplateSimple(PdfTemplate template, PdfName forcedName)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
template |
|
|
|
forcedName |
ReleaseTemplate
Source code
public virtual void ReleaseTemplate(PdfTemplate tp)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
tp |
GetImportedPage
Source code
public virtual PdfImportedPage GetImportedPage(PdfReader reader, int pageNumber)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
|
|
|
pageNumber |
GetPdfReaderInstance
Source code
protected virtual PdfReaderInstance GetPdfReaderInstance(PdfReader reader)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
FreeReader
Source code
public virtual void FreeReader(PdfReader reader)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
GetNewObjectNumber
Source code
protected internal virtual int GetNewObjectNumber(PdfReader reader, int number, int generation)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
|
|
|
number |
|
|
|
generation |
GetReaderFile
Source code
internal virtual RandomAccessFileOrArray GetReaderFile(PdfReader reader)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
GetColorspaceName
Source code
internal PdfName GetColorspaceName()
AddSimple [2/2]
Source code
internal virtual ColorDetails AddSimple(ICachedColorSpace spc)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
spc |
AddSimplePattern
Source code
internal virtual PdfName AddSimplePattern(PdfPatternPainter painter)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
painter |
AddSimpleShadingPattern
Source code
internal void AddSimpleShadingPattern(PdfShadingPattern shading)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
shading |
AddSimpleShading
Source code
internal void AddSimpleShading(PdfShading shading)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
shading |
AddSimpleExtGState
Source code
internal PdfObject AddSimpleExtGState(PdfDictionary gstate)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
gstate |
AddSimpleProperty
Source code
internal PdfObject AddSimpleProperty(object prop, PdfIndirectReference refi)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
prop |
|
|
|
refi |
PropertyExists
Source code
internal bool PropertyExists(object prop)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
prop |
SetTagged [1/2]
Source code
public virtual void SetTagged()
SetTagged [2/2]
Source code
public virtual void SetTagged(int taggingMode)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
taggingMode |
NeedToBeMarkedInContent
Source code
public virtual bool NeedToBeMarkedInContent(IAccessibleElement element)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
element |
CheckElementRole
Source code
public virtual void CheckElementRole(IAccessibleElement element, IAccessibleElement parent)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
element |
|
|
|
parent |
IsTagged
Source code
public virtual bool IsTagged()
FlushTaggedObjects
Source code
internal virtual void FlushTaggedObjects()
FlushAcroFields
Source code
internal virtual void FlushAcroFields()
AddOCGRadioGroup
Source code
public virtual void AddOCGRadioGroup(List<PdfLayer> group)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
> |
group |
LockLayer
Source code
public virtual void LockLayer(PdfLayer layer)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
layer |
FillOCProperties
Source code
protected virtual void FillOCProperties(bool erase)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
erase |
RegisterLayer
Source code
internal virtual void RegisterLayer(IPdfOCG layer)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
layer |
SetBoxSize
Source code
public virtual void SetBoxSize(string boxName, Rectangle size)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
boxName |
|
|
|
size |
GetBoxSize [1/2]
Source code
public virtual Rectangle GetBoxSize(string boxName)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
boxName |
GetBoxSize [2/2]
Source code
public virtual Rectangle GetBoxSize(string boxName, Rectangle intersectingRectangle)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
boxName |
|
|
|
intersectingRectangle |
SetPageAction
Source code
public virtual void SetPageAction(PdfName actionType, PdfAction action)
Arguments
SetDefaultColorspace
Source code
public virtual void SetDefaultColorspace(PdfName key, PdfObject cs)
Arguments
AddSimplePatternColorspace
Source code
internal ColorDetails AddSimplePatternColorspace(BaseColor color)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
color |
ClearTextWrap
Source code
public virtual void ClearTextWrap()
AddDirectImageSimple [1/2]
Source code
public virtual PdfName AddDirectImageSimple(Image image)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
image |
AddDirectImageSimple [2/2]
Source code
public virtual PdfName AddDirectImageSimple(Image image, PdfIndirectReference fixedRef)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
image |
|
|
|
fixedRef |
Add [2/3]
Source code
internal virtual PdfIndirectReference Add(PdfImage pdfImage, PdfIndirectReference fixedRef)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
pdfImage |
|
|
|
fixedRef |
GetImageReference
Source code
internal virtual PdfIndirectReference GetImageReference(PdfName name)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
name |
Add [3/3]
Source code
protected virtual PdfIndirectReference Add(PdfICCBased icc)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
icc |
GetReferenceJBIG2Globals
Source code
protected internal virtual PdfIndirectReference GetReferenceJBIG2Globals(byte[] content)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
content |
WriteKeyInfo
Source code
protected static void WriteKeyInfo(Stream os)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
os |
GetTtfUnicodeWriter
Source code
protected internal virtual TtfUnicodeWriter GetTtfUnicodeWriter()
CreateXmpWriter [1/2]
Source code
protected internal virtual XmpWriter CreateXmpWriter(MemoryStream baos, PdfDictionary info)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
baos |
|
|
|
info |
CreateXmpWriter [2/2]
Source code
protected internal virtual XmpWriter CreateXmpWriter(MemoryStream baos, IDictionary<string, string> info)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
baos |
|
|
|
info |
CreateAnnotation [1/3]
Source code
public virtual PdfAnnotation CreateAnnotation(Rectangle rect, PdfName subtype)
Arguments
CreateAnnotation [2/3]
Source code
public virtual PdfAnnotation CreateAnnotation(float llx, float lly, float urx, float ury, PdfString title, PdfString content, PdfName subtype)
Arguments
CreateAnnotation [3/3]
Source code
public virtual PdfAnnotation CreateAnnotation(float llx, float lly, float urx, float ury, PdfAction action, PdfName subtype)
Arguments
CheckPdfIsoConformance [1/2]
Source code
public static void CheckPdfIsoConformance(PdfWriter writer, int key, object obj1)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
key |
|
|
|
obj1 |
CheckPdfIsoConformance [2/2]
Source code
public virtual void CheckPdfIsoConformance(int key, object obj1)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
key |
|
|
|
obj1 |
GetStandardStructElems
Source code
public virtual List<PdfName> GetStandardStructElems()
Properties
PdfDocument
internal PdfDocument PdfDocument { get; }
Info
public virtual PdfDictionary Info { get; }
InitialLeading
public virtual float InitialLeading { set; }
DirectContent
public virtual PdfContentByte DirectContent { get; }
DirectContentUnder
public virtual PdfContentByte DirectContentUnder { get; }
ColorProfile
public virtual ICC_Profile ColorProfile { get; }
PdfIndirectReference
public virtual PdfIndirectReference PdfIndirectReference { get; }
IndirectReferenceNumber
protected internal virtual int IndirectReferenceNumber { get; }
Os
public virtual OutputStreamCounter Os { get; }
ExtraCatalog
public virtual PdfDictionary ExtraCatalog { get; }
PageDictEntries
public virtual PdfDictionary PageDictEntries { get; }
PageNumber
public virtual int PageNumber { get; }
CurrentPage
internal virtual PdfIndirectReference CurrentPage { get; }
CurrentPageNumber
public virtual int CurrentPageNumber { get; }
Tabs
public virtual PdfName Tabs { get; set; }
PageEvent
public virtual IPdfPageEvent PageEvent { get; set; }
RootOutline
public virtual PdfOutline RootOutline { get; }
Outlines
public virtual IList<Dictionary<string, object>> Outlines { set; }
PdfVersion
public virtual char PdfVersion { set; }
ViewerPreferences
public virtual int ViewerPreferences { set; }
PageLabels
public virtual PdfPageLabels PageLabels { set; }
Collection
public virtual PdfCollection Collection { set; }
AcroForm
public virtual PdfAcroForm AcroForm { get; }
SigFlags
public virtual int SigFlags { set; }
XmpMetadata
public virtual byte XmpMetadata { get; set; }
PageXmpMetadata
public virtual byte PageXmpMetadata { set; }
XmpWriter
public virtual XmpWriter XmpWriter { get; }
PDFXConformance
public virtual int PDFXConformance { get; set; }
Encryption
internal PdfEncryption Encryption { get; }
FullCompression
public virtual bool FullCompression { get; }
CompressionLevel
public virtual int CompressionLevel { get; set; }
CurrentDocumentSize
public virtual long CurrentDocumentSize { get; }
StructureTreeRoot
public virtual PdfStructureTreeRoot StructureTreeRoot { get; }
OCProperties
public virtual PdfOCProperties OCProperties { get; }
PageSize
public virtual Rectangle PageSize { get; }
CropBoxSize
public virtual Rectangle CropBoxSize { set; }
PageEmpty
public virtual bool PageEmpty { get; set; }
Duration
public virtual int Duration { set; }
Transition
public virtual PdfTransition Transition { set; }
Thumbnail
public virtual Image Thumbnail { set; }
Group
public virtual PdfDictionary Group { get; set; }
SpaceCharRatio
public virtual float SpaceCharRatio { get; set; }
RunDirection
public virtual int RunDirection { get; set; }
Userunit
public virtual float Userunit { set; }
DefaultColorspace
public virtual PdfDictionary DefaultColorspace { get; }
StrictImageSequence
public virtual bool StrictImageSequence { get; set; }
UserProperties
public virtual bool UserProperties { get; set; }
RgbTransparencyBlending
public virtual bool RgbTransparencyBlending { get; set; }
Generated with ModularDoc