![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IUISCALINGPREFS } |
| enum | ScalingFactorPref { kLower = 0, kHigher } |
| enum | ScalingRange { kMinScaling = 1, kMaxScaling = 3 } |
Public Member Functions | |
| virtual PMReal | GetScaleFactorValue ()=0 |
| virtual bool16 | GetScaleCursor ()=0 |
| virtual PMReal | GetBoundingBoxValue ()=0 |
| virtual int32 | GetNumStops ()=0 |
| virtual bool16 | GetHasUserUpdatedPrefs ()=0 |
| virtual void | SetScaleFactorValue (PMReal &scaleFactor)=0 |
| virtual void | SetScaleCursor (bool16 &scaleCursor)=0 |
| virtual void | SetBoundingBoxValue (PMReal &boundingBox)=0 |
| virtual void | SetNumSliderStops (int32 &numStops)=0 |
| virtual void | SetHasUserUpdatedPrefs (bool16 &hasUpdatedPrefs)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Returns the bounding box, handles and adornment scale factor stored in preferences.
| pure virtual |
Returns a boolean value indicating that user has updated UI Scaling preferences
| pure virtual |
Returns the number of stops in the UI scaling slider to be shown to the user based on the screen resolution and OS scale factor.
| pure virtual |
Returns the boolean value stored in preferences for whether the cursor should be scaled or not.
| pure virtual |
Returns the current value of UI Scaling scalefactor stored in preferences.
| pure virtual |
Sets the bounding box scale factor.
| boundingBox | the scale factor for the scaling of adornments, bounding boxes and handles. |
| pure virtual |
INTERNAL USE ONLY. Sets a boolean value indicating that user has updated UI Scaling preferences
| hasUpdatedPrefs | Sets a boolean value indicating that user has updated UI Scaling preferences |
| pure virtual |
Sets the number of slider stops in the UI scaling slider.
| numStops | the number of stops that should be there in the UI scaling slider. |
| pure virtual |
Sets the boolean value whether the cursors should scale or not.
| scaleCursor | if True the cursors would be scaled to effective scale factor, otherwise to OS scale factor. |
| pure virtual |
Sets the UI scaling scale factor preference.
| scaleFactor | the application scale factor.s |