CAD Export black and white pdf (com Interface)

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);

Guess you like

Origin www.cnblogs.com/yzy0224/p/10984566.html