The main use of Function:
IMxDrawModifyTheColor Interface
Used to modify the color of all the drawing objects, to which colors are modified to a specified value.
IMxDrawModifyTheColor::Do
Modify color as detailed below:
parameter | Explanation |
---|---|
[in] IMxDrawDatabase* pDatabase |
Database Objects |
isAutoRestore |
Class destructor is automatically restoring the |
Code is implemented as follows:
1
2
|
MxDrawModifyTheColor mcolor =
new
MxDrawModifyTheColor();
mcolor.Do((MxDrawDatabase)axMxDrawX1.GetDatabase(), 1);
|