



Collapse AllThis property gets or sets the value indicating if the annotation is displayed on the screen (allowing the user to interact with it) or not.
Syntax| VARIANT_BOOL PDFANNOTATION_Flags_afNoView { get; set; } |
VARIANT_TRUE if the control is not to be displayed, VARIANT_FALSE otherwise.
RemarksSetting this property to VARIANT_TRUE commands a PDF reader to hide the annotation. The annotation may be printed (depending on the setting of the Print flag) but should be considered hidden for purposes of on-screen display and user interaction.
Equivalent in new interface: IPDFDocument4::AnnotNoView.
Example{ 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_afNoView := 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_afNoView = 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_afNoView = 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_afNoView = True
PDF.EndDoc
See Also