几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】changing paper space background color (http://www.dimcax.com/hust/showthread.php?t=15397)

yang686526 2009-05-04 05:44 PM

【转帖】changing paper space background color
 
changing paper space background color ?
changing paper space background color ?
hello,
i am trying to change the background color of a drawing saved in paper space.
i use odgsdevice::setbackgroundcolor but not all my background drawing is change.
an area is always in black (i think it's the printing area of my paper space).
it works fine in model space, is there something else to do to change the background color of a drawing in paper space ?
regards
background color effects paper space too but a rectangle representing paper is drawn on the background before entities are drawn.
in current implementation paper color can be set using odgicontextfordatabase::setpalettebackground()
sergey slezkin
it works thank you sergey !


所有的时间均为北京时间。 现在的时间是 07:33 PM.