如何将图像添加到对话框
你好我想在对话框中添加幻灯片图像。然而,我的盒子上有一个白色的屏幕。
有人能帮我添加图像吗?
提前谢谢。
(setq x (dimx_tile "picture")
y (dimy_tile "picture"))
(start_image "picture")
(slide_image 0 0 x y "2ddraw")
(end_image) 我不确定我做的一个是按不同的顺序做的
(start_image "picture")
(slide_image 0 0 (- (dimx_tile "picture") 1) (- (dimy_tile "picture") 1) 2ddraw")
(end_image)
谢谢你的回复,但还是有一个白色的屏幕。
将以下内容添加到图像按钮属性中。
color = -15; 注意:图像必须是AutoCAD幻灯片。 试着把你在模型空间上画的线变成“黑色”(背景应该是黑色的)。
我还建议您在编写MSLIDE命令之前关闭网格。
如果您试图在图纸空间(布局1)中捕获幻灯片,我也无法管理它。 通过使用以下代码解决:
(setq x (dimx_tile "picture")
y (dimy_tile "picture"))
(start_image "picture")
(fill_image 0 0 x y 0)
(slide_image 0 0 x y "hck")
(end_image)
页:
[1]