查看单个帖子
旧 2009-05-04, 05:44 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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 !
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)