![]() | InDesign SDK 20.5 |
#include <IMeasurementSystem.h>

Public Types | |
| enum | { kDefaultIID = IID_IMEASUREMENTSYSTEM } |
| enum | { kPointMeasure = 0 } |
Public Member Functions | |
| virtual int32 | Location (const ClassID &classId) const =0 |
| virtual int32 | GetNumberOfUnits () const =0 |
| virtual IUnitOfMeasure * | QueryUnitOfMeasure (int32 index) const =0 |
| virtual IUnitOfMeasure * | QueryUnitOfMeasure (const ScriptID &id, const ScriptInfo::RequestContext &context) const =0 |
| virtual void | Cleanup ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IMeasurementSystem is an interface through which units of measure can be accessed. A unit of measure boss is any boss that implements the IUnitOfMeasure interface. Units of measure loaded by interating over the object model, which is why this interface only has methods for accessing units of measure.
| anonymous enum |
The points unit of measure must be installed first.
| pure virtual |
Internal Use Only: Clean up the measurement system on shutdown
| pure virtual |
Count the number of IUnitOfMeasure systems available.
| pure virtual |
Return the index of the measurement system whose class id is specified in 'classId'.
| pure virtual |
Given measurement system index, query for the unit of measure corresponding to that index.
| pure virtual |
Returns the unit of measure associated with a script ID in a particular scripting DOM