



Collapse AllThis property gets or sets the value indicating if the annotation is scaled to match the magnification of the page.
Syntax| VARIANT_BOOL PDFANNOTATION_Flags_afNoZoom { get; set; } |
VARIANT_TRUE if the control is not scaled to match the magnification of the page, VARIANT_FALSE otherwise.
RemarksIf set to VARIANT_TRUE, do not scale the annotation's appearance to match the magnification of the page. The location of the annotation on the page, defined by the upper-left corner of its bounding box, remains fixed, regardless of the page magnification.
Equivalent in new interface: IPDFDocument4::AnnotNoZoom.
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_afNoZoom := 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_afNoZoom = 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_afNoZoom = 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_afNoZoom = True
PDF.EndDoc
See Also