Click or drag to resize
Pdf Library for .NET

PreflightOptions Constructor


Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntax
public PreflightOptions(
	byte[] OutputProfile = null,
	string OutputConditionIdentifier = null,
	string RegistryName = null,
	ValidationOptions Validation = null,
	bool RemoveAnnotations = false,
	bool RemoveAttachmentsAndJavaScript = false,
	string Language = null
)

Parameters

OutputProfile  Byte  (Optional)
An ICC output (printer) profile. For PDF/X it becomes the output intent's destination profile when the document has no usable output intent, and colour is converted to it (to a CMYK profile only). Without one, a missing output intent names a registered printing condition and colour is converted with the device formula (no colour management).
OutputConditionIdentifier  String  (Optional)
The output intent's condition identifier. Default: the profile's description, or CGATS TR 001 (U.S. Web Coated SWOP, registered at color.org) without a profile.
RegistryName  String  (Optional)
The registry the condition identifier names. Default: http://www.color.org.
Validation  ValidationOptions  (Optional)
How the document is verified before and after the fixes.
RemoveAnnotations  Boolean  (Optional)
PDF/X: take annotations out of the printed area (inside the BleedBox; for PDF/X-1a:2001 also the TrimBox), which every PDF/X level but X-3:2002 forbids. What an annotation prints is kept: its appearance is drawn into the page first, and form fields are flattened. PDF/UA-2: remove sound and movie annotations, which it forbids. Off by default: links and comments are lost.
RemoveAttachmentsAndJavaScript  Boolean  (Optional)
PDF/X: remove embedded files, file attachment annotations, document JavaScript and every JavaScript action. PDF/A: remove the embedded files the level does not admit (PDF/A-1: any; PDF/A-2: other than PDF/A-1 or -2 documents; PDF/A-4 and 4e: other than PDF/A-1, -2 or -4 documents) and, for PDF/A-1 to 3, JavaScript actions. Off by default.
Language  String  (Optional)
PDF/UA: the document's natural language ("en-US") to set when it has none. Null: a document without a language is reported.
See Also