PdfCopyFields Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf
iTextSharp.text.pdf.PdfCopyFields[[PdfCopyFields]]
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;
end
iTextSharp.text.pdf.interfaces.IPdfViewerPreferences --> iTextSharp.text.pdf.PdfCopyFields
iTextSharp.text.pdf.interfaces.IPdfEncryptionSettings --> iTextSharp.text.pdf.PdfCopyFields
Members
Properties
Public properties
Methods
Public methods
Details
Inheritance
Constructors
PdfCopyFields [1/2]
Source code
public PdfCopyFields(Stream os)
Arguments
Type | Name | Description |
---|
Stream | os | |
PdfCopyFields [2/2]
Source code
public PdfCopyFields(Stream os, char pdfVersion)
Arguments
Type | Name | Description |
---|
Stream | os | |
char | pdfVersion | |
Methods
AddDocument [1/3]
Source code
public virtual void AddDocument(PdfReader reader)
Arguments
AddDocument [2/3]
Source code
public virtual void AddDocument(PdfReader reader, IList<int> pagesToKeep)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
IList <int > | pagesToKeep | |
AddDocument [3/3]
Source code
public virtual void AddDocument(PdfReader reader, string ranges)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
string | ranges | |
SetEncryption [1/4]
Source code
public virtual void SetEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, bool strength128Bits)
Arguments
Type | Name | Description |
---|
byte``[] | userPassword | |
byte``[] | ownerPassword | |
int | permissions | |
bool | strength128Bits | |
SetEncryption [2/4]
Source code
public virtual void SetEncryption(bool strength, string userPassword, string ownerPassword, int permissions)
Arguments
Type | Name | Description |
---|
bool | strength | |
string | userPassword | |
string | ownerPassword | |
int | permissions | |
Close
Source code
public virtual void Close()
Open
Source code
public virtual void Open()
AddJavaScript
Source code
public virtual void AddJavaScript(string js)
Arguments
Type | Name | Description |
---|
string | js | |
SetFullCompression
Source code
public virtual void SetFullCompression()
SetEncryption [3/4]
Source code
public virtual void SetEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionType)
Arguments
Type | Name | Description |
---|
byte``[] | userPassword | |
byte``[] | ownerPassword | |
int | permissions | |
int | encryptionType | |
AddViewerPreference
Source code
public virtual void AddViewerPreference(PdfName key, PdfObject value)
Arguments
SetEncryption [4/4]
Source code
public virtual void SetEncryption(X509Certificate[] certs, int[] permissions, int encryptionType)
Arguments
Type | Name | Description |
---|
X509Certificate``[] | certs | |
int``[] | permissions | |
int | encryptionType | |
Properties
Outlines
public virtual IList<Dictionary<string, object>> Outlines { set; }
Writer
public virtual PdfWriter Writer { get; }
FullCompression
public virtual bool FullCompression { get; }
ViewerPreferences
public virtual int ViewerPreferences { set; }
Generated with ModularDoc