formZ SDK | 4.0 Call Back Reference | File Translator | Structured File Translator | Data Model Call Back

fz_ffmt_cbak_data_model_write_units_conv

Description

Gets the units conversion scale factor. This function is called to get conversion scale factor to convert from the project's units to the file format's units. If this function is not implemented (set to NULL), a scale factor of 1.0 will be used.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_data_model_write_units_conv(

fzrt_int

windex,

fz_ffmt_ref_td

ffmt_id,

fz_unit_type_enum

units_type,

double *

conv_factor )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The file format reference id.

units_type [Input]

The units of the project.

conv_factor [Result]

The units conversion scale factor.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_data_model_fset


Defined in

fz_ffmt_api.h