Class QPdfClient<T>
Inheritance
System.Object
QPdfClient<T>
Implements
System.IDisposable
Namespace: IronSoftware.Pdfium
Assembly: IronPdf.dll
Syntax
public abstract class QPdfClient<T> : Object, IDisposable, IQPdfClient where T : QPdfDeploymentBase
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
QPdfClient(Boolean)
Declaration
protected QPdfClient(bool deployQpdf = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | deployQpdf |
Methods
Dispose()
Declaration
public virtual void Dispose()
IsLinearized(String, String)
Check if a file is linearized or not
Declaration
public bool IsLinearized(string path, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | path | file path where the linearized file is located |
| System.String | password | password of the pdf content |
Returns
| Type | Description |
|---|---|
| System.Boolean | Returns true if the file is linearized, otherwise returns false |
SaveAsLinearized(IDocumentId, String, String)
Save PDF document as a linearized PDF file
Declaration
public void SaveAsLinearized(IDocumentId id, string path, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| IronSoftware.IDocumentId | id | id of the document |
| System.String | path | path where the linearized file will be saved |
| System.String | password | password of the pdf content |
SaveAsLinearized(Byte[], String, String)
Save PDF document as a linearized PDF file
Declaration
public void SaveAsLinearized(byte[] pdfBytes, string path, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | pdfBytes | |
| System.String | path | path where the linearized file will be saved |
| System.String | password | password of the pdf content |
Implements
System.IDisposable