formZ SDK | 5.0 API Reference | Project | File Formats

fz_ffmt_import_file

Description

Imports a file into a formZ project.

Plugin Prototype

fzrt_error_td fz_ffmt_import_file(

fzrt_int *

windex,

fz_ffmt_ref_td

ffmt_id,

fzrt_floc_ptr

floc,

fzrt_boolean

add_to_proj,

fz_ffmt_data_read_meth_enum

data_read_method,

fz_ffmt_image_read_meth_enum

imag_read_method )

Parameters

windex [Input, Result]

If add_to_proj is TRUE, the window of a project to read the file into. Else, the windex of the new project.

ffmt_id [Input]

The file format reference id.

floc [Input]

An file location containing the name and path of the file.

add_to_proj [Input]

If TRUE, add the data to the project referenced by windex. Else, create a new project for the file.

data_read_method [Input]

How to read data, as model objects or draft elements.

imag_read_method [Input]

How to read an image, as model, draft elements or draft image.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

See Also

fz_ffmt_export_file

Function Set

fz_ffmt_fset


Defined in

fz_ffmt_api.h