class CODCoordinateMappingPage: public CODMeasurePropPage
This property page contains mapping mode and extent values. The coordinate mapping defines how logical units are mapped to device units.
Defined in: OdMeasurePropSheet.h
VIEWS_API CODCoordinateMappingPage(IODRuler* pIRuler = NULL)
Constructor.
VIEWS_API ~CODCoordinateMappingPage()
Destructor.
VIEWS_API void SetDefaults()
Initialize default values for the property page controls.
VIEWS_API void UpdateLogUnitMeasure()
Updates the static controls that display the size of one logical unit given the current coordinate mapping selected.
CComboBox m_cMappingMode
Combo box object for mapping mode.
long m_nXExtent
Extent for X axis.
long m_nYExtent
Extent for Y axis.
long m_nXLogExtent
Logical extent for X axis.
long m_nYLogExtent
Logical extent for Y axis.
BOOL m_bYAxisUp
Flag indicating if positive Y values are up or down (unused).
CString m_strLogXUnitMeasure
Static display of size of one logical unit on X axis.
CString m_strLogYUnitMeasure
Static display of size of one logical unit on Y axis.
int m_nMapMode
Mapping mode value determined by combo box.
VIEWS_API virtual BOOL OnInitDialog()
Called on dialog initialization.
protected:
Performs dialog data exchange.
VIEWS_API int FindMapModeIdx(const int nMapMode)
Get the combo box index of the given mapping mode.
VIEWS_API afx_msg void OnChangeMapping()
Called when any of the extent values are changed.