Chapter Contents

Previous

Next
Image Data Model: _writeDirrefMember

Image Data Model: _writeDirrefMember



Writes an image to an external file in a directory that is identified by a fileref


Syntax
Example

Syntax

CALL SEND (object-id, '_writeDirrefMember', dirref, member, 'FORMAT=format<attributes'>);

Argument Type Description
dirref
C the fileref of the directory containing the member
member
C the name of the file to be written
format
C the format to use for writing the file.
attributes
C other attributes specific to the file type.


Example

This example writes an image to file sign.tif in the directory identified with fileref IMGDIR:

filename('imgdir','/usr/images/color');
call send(imgdat_id,'_writeDirrefMember',
          imgdir,'sign.tif',
          'format=tiff');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.