Skip navigation
AidySun
Currently Being Moderated

How to get the current zoom value in ID?

May 14, 2012 3:04 AM

Is there any way that can get the current zoom value in InDesign?

 

ZoomValue.png

 

Thanks a lot.

 
Replies
  • Currently Being Moderated
    Jul 24, 2012 11:14 AM   in reply to AidySun

    You could peek at the widget indicated in your screen shot, at least when that MDI (?) frame is showing.

     

    The window title at kLayoutPresentationBoss, IID_IDOCUMENTPRESENTATION also reflects the value.

     

    Probably best would be the kLayoutWidgetBoss, with its IID_IPANORAMA, GetXScaleFactor() - and GetYScaleFactor()!!!

    I just try to imagine how a document would look if these differ from each other ;-) and, even better, how to achieve that from the UI.

     

    Btw, one notification is on kDocWorkspaceBoss, protocol IID_IWINDOW, command kUpdateDocumentUIStateCmdBoss.

    Another one: there is a kDocWindowTitleModifyService ...

     

    Edit: of course I should again mention IID_IPANORAMA, observable from kLayoutWidgetBoss subject.

     

    Dirk

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points