In Autolisp DCL, Can I create image button by insertion of image format like JPG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear All,
I need a help. Currently I am new to the Autolisp DCL.
1. Query:-
In Autolisp DCL, I would like to insert image format like "JPG" or "TIF".
Instead of "SLD" slide format.
2. Sample DCL:-
lisp48o : dialog { //dialog name
label = "Test" ; //give it a label
: row { //begin row
: boxed_column {
label = "Gas baffle image";
: image { //define image tile
key = "im3" ; //give it a name
height = 40.0 ; //add a height
width = 100.0 ; //and now a width
fixed_width = true; //fix the width
fixed_height = true; //fix the height
color = graphics_background; //set background color
}//end image
}
}
3. Autolisp code for DCL
....
...
..
(setq w (dimx_tile "im3") ;get image tile width
h (dimy_tile "im3") ;get image tile height
);setq
(start_image "im3") ;start the image
;;(fill_image 100 -5 (* w 10) (* h 10) 250) ;1 = AutoCAD red.
;display a slide
(slide_image -200 10 (* w 3) (* h 1) "C:\\GB_Top_leftview-1a.sld")
(end_image)
.........
................
Can some one help me out?
Thank you
Regards
S.Muruganandam