Click or drag to resize

SDFDocGetHeader Method

Gets the PDF file header.

Namespace:  pdftron.SDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public string GetHeader()

Return Value

Type: String
The header string identifying the document version to which the file conforms. For a file conforming to PDF version 1.4, the header should be %PDF-1.4. In general header strings have the following syntax: %AAA-N.n where AAA identifies document specification(such as PDF, FDF, PJTF etc), N is the major version and n is the minor version. The new header string can be set during a full save(see SDFDoc.SaveAsync()). For a document that is not serialized the function returns an empty string.
See Also