Solid Framework SDK 10.0.12602
SDK for converting and extracting value from PDFs
|
Public Member Functions | |
override void | Dispose () |
PdfDocument () | |
Initializes a new instance of the PdfDocument class. | |
PdfDocument (string path) | |
Initializes a new instance of the PdfDocument class. More... | |
override SolidFramework.Interop.NativeError | Close () |
void | RemoveStructTreeRoot () |
Removes "tagging" from the PdfDocument. If the PdfDocument was not tagged then this has no effect. More... | |
void | Save (SolidFramework.Plumbing.OverwriteMode mode, SolidFramework.PageRange pageRange) |
Saves the specified mode. More... | |
SolidFramework.Interop.NativeError | EnterOwnerAuthenticationMode (string ownerPassword) |
string | InquireUserPasswordByOwnerPassword (string ownerPassword) |
InquireUserPasswordByOwnerPassword returns user password by owner password for password security handlers. Works for revisions prior to Acrobat 9. In case of failure return null string | |
bool | CheckOwnerPassword (string password) |
bool | CheckUserPassword (string password) |
void | SaveProtected (SolidFramework.Pdf.PdfSecurityHandler securityHandler, SolidFramework.Plumbing.OverwriteMode overwriteMode, bool shouldOptimize) |
void | SaveProtected (SolidFramework.Pdf.PdfSecurityHandler securityHandler, SolidFramework.Plumbing.OverwriteMode overwriteMode) |
void | SaveProtected (SolidFramework.Pdf.PdfSecurityHandler securityHandler) |
void | SaveAsProtected (string path, SolidFramework.Pdf.PdfSecurityHandler securityHandler, SolidFramework.Plumbing.OverwriteMode overwriteMode, bool shouldOptimize) |
void | SaveAsProtected (string path, SolidFramework.Pdf.PdfSecurityHandler securityHandler, SolidFramework.Plumbing.OverwriteMode overwriteMode) |
void | SaveAsProtected (string path, SolidFramework.Pdf.PdfSecurityHandler securityHandler) |
void | SetOutputID (SolidFramework.BytesArray permanentIdentifier, SolidFramework.BytesArray changingIdentifier) |
Sets the ID to use when the document is saved. More... | |
void | DecodeAllStreams () |
Decodes all streams. | |
void | Append (SolidFramework.Pdf.PdfDocument pdfDocumentToAppend) |
Appends the specified PDF document to append. More... | |
SolidFramework.Pdf.Plumbing.PdfFontsCollection | GetFonts () |
Gets the fonts used in this document. More... | |
SolidFramework.Pdf.Plumbing.PdfPagesCollection | GetPages () |
Gets the pages. More... | |
SolidFramework.Pdf.Plumbing.PdfPagesCollection | GetPages (int nFrom, int nTo) |
SolidFramework.Interop.NativeError | RecognizeDocument (string OCRLang, SolidFramework.Converters.Plumbing.TextRecovery textRecovery, SolidFramework.Converters.Plumbing.OcrType ocrType, bool pageAutoRotate, SolidFramework.Imaging.Plumbing.ImageCompression imageCompression) |
SolidFramework.Interop.NativeError | AddTextWatermark (string strWatermarkText, string strURL, bool bSerifFont, float angle, bool bFill, int dwColor, bool bStroke, float lineWeight, int zorder, int vpos, int hpos) |
bool | IsPdfLoaded () |
global::System.IntPtr | NativeDataBase () |
Gets the native data base. | |
PdfDocument (Stream stream) | |
virtual void | Create () |
Creates this empty instance. | |
void | Open () |
Opens the document. This will throw an exception if the path has not already been specified in the constructor. More... | |
void | Open (string password) |
Opens the document. This will throw an exception if the path has not already been specified in the constructor. More... | |
void | Save () |
Saves the document | |
void | Save (SolidFramework.Plumbing.OverwriteMode mode) |
Saves the document and sets overwrite mode More... | |
void | Save (SolidFramework.Plumbing.OverwriteMode mode, bool useOptimizer) |
Saves the the document to the specified path with using of optimization More... | |
void | SaveAs (string path) |
Saves the document to specified path More... | |
void | SaveAs (string path, SolidFramework.Plumbing.OverwriteMode mode) |
Saves to specified path More... | |
void | SaveAs (string path, SolidFramework.Plumbing.OverwriteMode mode, bool useOptimizer) |
Saves to specified path More... | |
void | SaveOptimized () |
Saves and apply optimization | |
void | SaveOptimized (SolidFramework.Plumbing.OverwriteMode mode) |
Saves and apply optimization More... | |
void | SaveOptimizedAs (string path) |
Saves to specified path and apply optimization More... | |
void | SaveOptimizedAs (string path, SolidFramework.Plumbing.OverwriteMode mode) |
Saves to specified path and apply optimization More... | |
bool | Equals (SolidFramework.Plumbing.Document other) |
override bool | Equals (object obj) |
override int | GetHashCode () |
Static Public Member Functions | |
static bool | operator== (SolidFramework.Plumbing.Document obj1, SolidFramework.Plumbing.Document obj2) |
static bool | operator!= (SolidFramework.Plumbing.Document obj1, SolidFramework.Plumbing.Document obj2) |
Properties | |
override SolidFramework.Plumbing.ICatalog | Catalog [get] |
Gets the catalog. | |
override string | Extension [get] |
Gets the extension. | |
SolidFramework.Pdf.Info | Info [get] |
Gets the info. | |
SolidFramework.Pdf.Plumbing.PdfDictionary | Trailer [get] |
Gets the trailer. | |
SolidFramework.Pdf.Plumbing.PdfDictionary | Root [get] |
Gets the root. | |
string | Version [get] |
Gets the version using either Catalog.Version or file header. | |
SolidFramework.Pdf.Plumbing.PdfArray | ID [get] |
Gets the ID. | |
SolidFramework.Pdf.Plumbing.PdfDictionary | CatalogDictionary [get] |
Gets the catalog dictionary. | |
SolidFramework.Pdf.Plumbing.PdfArray | IDArray [get] |
Gets the ID array. | |
SolidFramework.Pdf.Plumbing.PdfDictionary | InfoDictionary [get] |
Gets the info dictionary. | |
int | PageCount [get] |
SolidFramework.Pdf.AuthenticationModeType | AuthenticationMode [get] |
Gets the authentication mode. | |
SolidFramework.Pdf.EncryptionAlgorithm | EncryptionAlgorithm [get] |
Gets or sets the encryption algorithm. More... | |
SolidFramework.Pdf.AccessPermissions | Permissions [get] |
Gets or sets the permissions. More... | |
bool | IsLinearized [get] |
Determines if the PDF is "fast web view" using the header | |
bool | IsModified [get] |
Gets a value indicating whether this document is modified. More... | |
string | Path [getset] |
Gets the path. More... | |
bool | IsLoaded [get] |
Gets a value indicating whether this document is loaded. More... | |
bool | RequiresOptimization [getset] |
SolidFramework.Plumbing.OverwriteMode | OverwriteMode [getset] |
Gets the overwrite mode. More... | |
bool | Dirty [getset] |
Gets a value indicating whether this Document is dirty. More... | |
SolidFramework.Pdf.PdfDocument.PdfDocument | ( | string | path | ) |
Initializes a new instance of the PdfDocument class.
path | The path. |
void SolidFramework.Pdf.PdfDocument.Append | ( | SolidFramework.Pdf.PdfDocument | pdfDocumentToAppend | ) |
Appends the specified PDF document to append.
pdfDocumentToAppend | The PDF document to append. |
|
virtual |
Reimplemented from SolidFramework.Plumbing.Document.
|
virtual |
Reimplemented from SolidFramework.Plumbing.Document.
SolidFramework.Pdf.Plumbing.PdfFontsCollection SolidFramework.Pdf.PdfDocument.GetFonts | ( | ) |
Gets the fonts used in this document.
SolidFramework.Pdf.Plumbing.PdfPagesCollection SolidFramework.Pdf.PdfDocument.GetPages | ( | ) |
Gets the pages.
|
inherited |
Opens the document. This will throw an exception if the path has not already been specified in the constructor.
System.InvalidOperationException | with a message of "Path must be set before calling Open" occurs if the path has not been specified or is null. |
|
inherited |
Opens the document. This will throw an exception if the path has not already been specified in the constructor.
password | The password to be used when opening the file. |
System.InvalidOperationException | with a message of "Path must be set before calling Open" occurs if the path has not been specified or is null. |
void SolidFramework.Pdf.PdfDocument.RemoveStructTreeRoot | ( | ) |
Removes "tagging" from the PdfDocument. If the PdfDocument was not tagged then this has no effect.
Tagging is used to indicate structure within the PdfDocument. Where text is tagged as being part of a table this will, if DetectTaggedTables
is true, cause the text to always be extracted as a table, rather than the text being considered to be a table only if it "looks" like a table.
|
inherited |
Saves the document and sets overwrite mode
mode | The mode. |
|
inherited |
Saves the the document to the specified path with using of optimization
mode | The mode. |
useOptimizer | if set to true [use optimizer]. |
void SolidFramework.Pdf.PdfDocument.Save | ( | SolidFramework.Plumbing.OverwriteMode | mode, |
SolidFramework.PageRange | pageRange | ||
) |
Saves the specified mode.
mode | The mode. |
pageRange | The page range. |
|
inherited |
Saves the document to specified path
path | The path. |
|
inherited |
Saves to specified path
path | The path. |
mode | The overwrite mode. |
|
inherited |
Saves to specified path
path | The path. |
mode | The overwrite mode. |
useOptimizer | if set to true [use optimizer]. |
|
inherited |
Saves and apply optimization
mode | The mode. |
|
inherited |
Saves to specified path and apply optimization
path | The path. |
|
inherited |
Saves to specified path and apply optimization
path | The path. |
mode | The overwrite mode. |
void SolidFramework.Pdf.PdfDocument.SetOutputID | ( | SolidFramework.BytesArray | permanentIdentifier, |
SolidFramework.BytesArray | changingIdentifier | ||
) |
Sets the ID to use when the document is saved.
permanentIdentifier | Specifies the first part of the ID (this should be unique for new PDFs but can remain unchanged when modifying an existing PDF). |
changingIdentifier | Specifies the second part of the ID (this should change each time the PDF is modified). |
|
getsetinherited |
Gets a value indicating whether this Document is dirty.
true
if dirty; otherwise, false
.
|
get |
Gets or sets the encryption algorithm.
The encryption algorithm.
|
getinherited |
Gets a value indicating whether this document is loaded.
true
if this document is loaded; otherwise, false
.
|
get |
Gets a value indicating whether this document is modified.
true
if this document is modified; otherwise, false
.
|
getsetinherited |
Gets the overwrite mode.
The overwrite mode.
|
getsetinherited |
Gets the path.
The path.
|
get |
Gets or sets the permissions.
The permissions.