Click or drag to resize
SignDocDocumentLoadercreatePDFA Method
Create an empty PDF/A document. The PDF document is invalid until you add at least one page. SignDocDocument.addSignature() cannot be used until the document has been saved.

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntax
C#
public SignDocDocument createPDFA(
	int major,
	int minor,
	string conformance,
	byte[] ICC
)

Parameters

major
Type: SystemInt32
Major PDF version, must be 1.
minor
Type: SystemInt32
Minor PDF version, must be 0 through 7.
conformance
Type: SystemString
PDF/A conformance. This string must consist of two characters: - A digit (1 through 3) specifying the part of PDF/A the document shall conform to. - A letter ('A' or 'B' if the digit is '1', 'A', 'B', or 'U' of the digit is '2' or '3') specifying the PDF/A conformance. . For instance, use "2B" for PDF/A-2b.
ICC
Type: SystemByte
The ICC profile of the PDF/A output intent or null if no output intent shall be added to the document.

Return Value

Type: SignDocDocument
A new SignDocDocument object representing the document. After use, SignDocDocument.close() should be to free up native resources as soon as possible.
See Also