status.i4.v = lex_draw_size_c(file_name.i1a.r, image_number.i4.v,
This routine returns the width and height of a Lex Draw image.
Images can be edited and saved files by using the interactive
graphics image editor (Lex Draw), currently on page D28.
file_name graphics image filename (LEXT_IMAGE_NAMLEN characters)
image_number image number (>= 1)
width returned width in pixels
height returned height in pixels
This function returns ACNET status values as follows:
CLIB_INVID invalid image number passed
FSHARE_xxx image file access error
This function requires the following include files:
lex_draw_display_c, lximag, lex_object_display_c, lxobj,
static const char file_name[LEXT_IMAGE_NAMLEN+1] = "XXXXXXXX";
int image_number = 1;
status = lex_draw_size_c(file_name,image_number,&width,&height);