Class PDFUAConformance
PDFUAConformance class is used to process PDF documents for PDF/UA (ISO 14289-1) compliance, including converting existing PDF files to PDF/UA compliant documents.
Note: This feature is currently experimental and subject to change.
Implements
Inherited Members
Namespace: pdftron.PDF.PDFUA
Assembly: PDFTronDotNet.dll
Syntax
public class PDFUAConformance : IDisposable
Constructors
PDFUAConformance()
Declaration
public PDFUAConformance()
PDFUAConformance(IntPtr)
Declaration
public PDFUAConformance(IntPtr impl_ptr)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | impl_ptr |
Methods
AutoConvert(string, string)
Converts the input pdf to PDF/UA, will auto-gen required structure analysis JSON, requires DataExtractionModule (with Doc Structure engine) to be properly configured.
Declaration
public void AutoConvert(string src_file, string dest_file)
Parameters
Type | Name | Description |
---|---|---|
string | src_file | The path to the PDF file to convert. |
string | dest_file | The path to output the converted file. |
Remarks
This function is experimental and is subject to change.
AutoConvert(string, string, PDFUAOptions)
Converts the input pdf to PDF/UA, will auto-gen required structure analysis JSON, requires DataExtractionModule (with Doc Structure engine) to be properly configured.
Declaration
public void AutoConvert(string src_file, string dest_file, PDFUAOptions options)
Parameters
Type | Name | Description |
---|---|---|
string | src_file | The path to the PDF file to convert. |
string | dest_file | The path to output the converted file. |
PDFUAOptions | options | The options to use when converting/validating, see PDFUAOptions for details. |
Remarks
This function is experimental and is subject to change.
CreateInternal(IntPtr)
Declaration
public static PDFUAConformance CreateInternal(IntPtr imp)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | imp |
Returns
Type | Description |
---|---|
PDFUAConformance |
Destroy()
Declaration
public void Destroy()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
~PDFUAConformance()
Declaration
protected ~PDFUAConformance()