slide_image

AutoCad AutoLISP Functions

 
slide_image
 
 
 

Displays an AutoCAD slide in the currently active dialog box image tile

(slide_image x1 y1 width height sldname)

Arguments

x1

X-offset from the upper-left corner of the tile, in pixels. Must be a positive value.

y1

Y-offset from the upper-left corner of the tile, in pixels. Must be a positive value.

width

Width of the image, in pixels.

height

Height of the image, in pixels.

sldname

Identifies the slide. This argument can be a slide file (.sld) or a slide in a slide library file (.slb). Specify sldname the same way you would specify it for the VSLIDE command or for a menu file (see the Creating Images topic in the AutoLISP Developer's Guide ). Use one of the following formats for sldname:

sldnameorlibname(sldname)

The first (upper-left) corner of the slide—its insertion point—is located at (x1,y1), and the second (lower-right) corner is located at the relative distance (wid,hgt) from the first (wid and hgt must be positive values). The origin (0,0) is the upper-left corner of the image. You obtain the coordinates of the lower-right corner by calling the dimension functions (dimx_tile and dimy_tile).

Return Values

A string containing sldname.

Examples

(slide_image
  0
  0
  (dimx_tile "slide_tile")
  (dimy_tile "slide_tile")
  "myslide"
)
(end_image)