Skip to main content
Participating Frequently
March 29, 2016
Question

AVPageViewDrawRectOutline does not work properly in Acrobat DC

  • March 29, 2016
  • 1 reply
  • 1276 views

When you implement the code as follows rectangle disappears.

AVPageViewDrawNow(pageView);

AVPageViewSetColor ( pageView, &red);

AVPageViewDrawRectOutline ( pageView, &rect,  2, NULL, 0);

AVPageViewSetColor ( pageView, &colorVal);

What there is a way to ensure that does not disappear figure?

can someone give me any advice?

This topic has been closed for replies.

1 reply

Legend
March 29, 2016

‌You say it does not work in DC. Do you imply that It does work correctly in other releases, or is this the first time to use this code?

dstoolAuthor
Participating Frequently
March 29, 2016

We use this code from a previous, Acrobat X was operating.

However, to draw a rectangle in the Acrobat DC but will soon disappear.

Legend
March 29, 2016

‌ok, appears but vanishes. Are you using the AVPageViewDidDraw callback and redrawing as many times as needed?