Does PDFNet support output intents?

Q:

I need to add/use outputintents. How can I do so with PDFNet?

A:

You should be able to simply an outputintent like any other SDF stream.

For example, to traverse the existing output intents, you could do something along the lines of:

Obj root = doc.GetRoot();
Obj output_intent = root.FindObj(“OutputIntents”);
if (output_intent != null) {
Obj *di = 0;
size_t i, sz = output_intent.Size();
for (i=0; i<sz; ++i) {
Obj intent = output_intent.GetAt(i);
if (intent.FindObj(“DestOutputProfileRef”)) {
//…
}

Obj dest_intent_stm = intent.FindObj(“DestOutputProfile”);
//…

You can find more information about output intents at section 14.11.5 of:

http://xodo.com/view/#/c0c11968-ee14-478e-9b09-6dc5635c0915

For more info on working directly with SDF objects, please see:

http://www.pdftron.com/pdfnet/samplecode.html#SDF
http://www.pdftron.com/pdfnet/intro.html

FYI: The following article includes some sample code showing how to set the OutputIntent:

https://groups.google.com/d/msg/pdfnet-sdk/mcMuCTUFyeQ/N2lAwhr-X2YJ