CODCanvasSizePage Class

class CODCanvasSizePage: public CODMeasurePropPage

This property page contains units of measure and the width and height of the canvas.

Defined in: OdMeasurePropSheet.h

Class Members

 CODCanvasSizePage(IODRuler* pIRuler = NULL)

Constructor.

 ~CODCanvasSizePage()

Destructor.

void  SetDefaults()

Initialize default values for the property page controls.

CComboBox m_cUnitOfMeasure

Unit of measure combo box object for DDX.

float m_fCanvasHeight

Canvas height variable for DDX.

float m_fCanvasWidth

Canvas width variable for DDX.

OD_UNIT_OF_MEASURE m_units

Data value for unit of measurement.

virtual BOOL  OnInitDialog()

Called on dialog initialization.

protected:

Performs dialog data exchange.

afx_msg void  OnSelchangeUnitOfMeasure()

Called when new unit of measure is selected.