[]
Represents a PDF Output Intent.
Output intents provide a means for matching the color characteristics of page content in a PDF document with those of a target output device or production environment in which the document will be printed.
public class OutputIntent : PdfDictWrapper, IPdfDict
Initializes a new instance of the OutputIntent class.
public OutputIntent()
The string representing the GTS_PDFA1 output intent subtype.
public static string GTS_PDFA1
The string representing the GTS_PDFX output intent subtype.
public static string GTS_PDFX
The string representing the ISO_PDFE1 output intent subtype.
public static string ISO_PDFE1
Gets or sets an ICCProfile color space defining the transformation from the PDF document’s source colors to output device colorants.
public ICCProfile DestOutputProfile { get; set; }
Gets or sets a string containing additional information or comments about the intended target device or production condition.
public string Info { get; set; }
Gets or sets a string concisely identifying the intended output device or production condition in human-readable form.
This is the preferred method of defining such a string for presentation to the user.
public string OutputCondition { get; set; }
Gets or sets a string identifying the intended output device or production condition in human- or machine-readable form.
If human-readable, this string may be used in lieu of the OutputCondition string for presentation to the user.
public string OutputConditionIdentifier { get; set; }
Gets or sets a string (conventionally a uniform resource identifier, or URI) identifying the registry in which the condition designated by OutputConditionIdentifier is defined.
public string RegistryName { get; set; }
Gets or sets the output intent subtype.
According to the PDF specification the value may be GTS_PDFX, GTS_PDFA1, ISO_PDFE1 or a key defined by an ISO 32000 extension. GcPdf allows setting this property to any value, the user is responsible for the correctness of the data.
This value is "GTS_PDFA1" by default.public string Subtype { get; set; }
Creates the OutputIntent object with specified parameters.
public static OutputIntent Create(string outputConditionIdentifier, string outputCondition, string registryName, string info, Stream iccMetadata)
outputConditionIdentifier
stringThe value of OutputConditionIdentifier.
outputCondition
stringThe value of OutputCondition.
registryName
stringThe value of RegistryName.
info
stringThe value of Info.
iccMetadata
System.IO.StreamThe stream with ICC profile metadata.
The OutputIntent object.