SDF 2.001: SDF Reference: import Macro

Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog

# 6.23. import Macro

## Interface

The general syntax is:

      !import filename [; params]

The arguments are:

Name | Type | Default | Rule
filename | string |  |
params | rest | _NULL_ |

See Understanding Macro Interfaces, if necessary.

## Description

The import macro imports a figure. If the filename is not given an extension, the extension is found using the search rules below.

When generating | The search order is
PostScript | epsi, eps, wmf, mif, gif
HTML | jpeg, jpg, png, gif
Windows Help | bmp

The title argument can be used to add a figure title.

See Figures within the SDF User Guide for further details.

## Examples