VARIANT_BOOL PDFANNOTATION_Flags_afPrint { get; set; } |
If set to VARIANT_TRUE, print the annotation when the page is printed. If set to VARIANT_FALSE, never print the annotation, regardless of whether it is displayed on the screen. This can be useful, for example, for annotations representing interactive push buttons, which would serve no purpose on the printed page.
Equivalent in new interface: IPDFDocument4::AnnotPrint.
{ PDF object is supposed to be created } PDF.BeginDoc; PDF.PDFPAGE_SetAnnotation(100, 200, 110, 210, 'Title', 'Here goes annotation contents...', 255, false, false, false, false, false, false, false, false, charsetANSI_CHARSET); PDF.PDFANNOTATION_Flags_afPrint := true; PDF.EndDoc;
// PDF object is supposed to be created PDF->BeginDoc(); PDF->PDFPAGE_SetAnnotation(100, 200, 110, 210, "Title", "Here goes annotation contents...", 255, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, charsetANSI_CHARSET); PDF->PDFANNOTATION_Flags_afPrint = TRUE; PDF->EndDoc();
// PDF object is supposed to be created PDF.BeginDoc(); PDF.PDFPAGE_SetAnnotation(100, 200, 110, 210, "Title", "Here goes annotation contents...", 255, false, false, false, false, false, false, false, false, TxFontCharset.charsetANSI_CHARSET); PDF.PDFANNOTATION_Flags_afPrint = true; PDF.EndDoc();
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_SetAnnotation 100, 200, 110, 210, "Title",_ "Here goes annotation contents...", 255,_ false, false, false, false, false, false, false, false, 0 PDF.PDFANNOTATION_Flags_afPrint = True PDF.EndDoc