Quantcast
Channel: Adobe Community : Unanswered Discussions - Acrobat
Viewing all articles
Browse latest Browse all 73766

How to create an annotation with respect to zoom?

$
0
0

Hi,

 

Does anyone know how to create an annotation withrespect to the zoom of the pageview?

 

I already tried this:

 

ASFixed zoom = AVPageViewGetZoom(pageView);

 

rect->top += ANNOT_HEIGHT;

rect->top *= zoom;

rect->bottom = rect->top - ANNOT_HEIGHT;

rect->bottom *= zoom;

rect->right += ANNOT_WIDTH;

rect->right *= zoom;

rect->left = rect->right - ANNOT_WIDTH;

rect->left *= zoom;

 

This does not work correctly and the annotation is not drawn at all.


Viewing all articles
Browse latest Browse all 73766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>