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

Public Types | |
| enum | { kDefaultIID = IID_IMEASURETOOLDATA } |
Public Member Functions | |
| virtual void | SetStartPoint (const PMPoint &startPoint)=0 |
| virtual const PMPoint & | GetStartPoint ()=0 |
| virtual void | SetEndPoint (const PMPoint &endPoint)=0 |
| virtual const PMPoint & | GetEndPoint ()=0 |
| virtual void | SetMiddlePoint (const PMPoint &middlePoint)=0 |
| virtual const PMPoint & | GetMiddlePoint ()=0 |
| virtual void | SetProtractorFlag (const bool16 &isProtractor)=0 |
| virtual bool16 | GetProtractorFlag ()=0 |
| virtual bool16 | HasMeasureLine ()=0 |
| virtual void | SetVisibility (const bool16 &isVisible)=0 |
| virtual bool16 | GetVisibility ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This is a data interface to allow clients to access information about current measure line. There is one measure line per layout view.
| pure virtual |
Get the end point of current measure line.
| pure virtual |
Get the middle point of current measure line. This is only when measure line is a protractor.
| pure virtual |
Determine that if current measure line is protractor or not.
| pure virtual |
Get the start point of current measure line.
| pure virtual |
Get the visible flag if current measure line.
| pure virtual |
Determine if there is a measure line in current workspace.
| pure virtual |
Set the end point of current measure line.
| endPoint | The new end point of measure line. |
| pure virtual |
Set the middle point of the measure line. This is only when measure line is a protractor.
| middlePoint | The new middle point of the protractor. |
| pure virtual |
Set kTrue if current measure line is protractor; otherwise set kFalse.
| bool16 | kTrue(is a protractor) or kFalse(not a protractor). |
| pure virtual |
Set the start point of current measure line.
| startPoint | The new start point of measure line. |
| pure virtual |
Set the visible flag if current measure line is visible. Meausre line will be hidden if current active tool is not measure tool.
| bool16 | kTrue(if visible) or kFalse(if not visible) |