formZ SDK | 4.0 Call Back Reference | File Translator | Structured File Translator | Image Vector Call Back

# fz_ffmt_cbak_image_vect_write_simple_text

Description

Writes simple text to a file. Simple text is text that is all the same font and size. It has no style (normal, bold, etc.) unless the style is implicit in the font. It is not rotated and follows a linear path. Any new line characters are ignored. Currently, formZ only calls this to export axis labels.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_image_vect_write_simple_text(

fzrt_int | windex,
fz_ffmt_ref_td | ffmt_id,
void * | data,
char * | fname,
double | txsize,
double | x,
double | y,
char * | str )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The file format reference id.

data [Input]

A pointer to translator defined data.

fname [Input]

The font name.

txsize [Input]

The point size of the font.

x [Input]

The x location of the lower left corner of the text.

y [Input]

The y location of the lower left corner of the text.

str [Input]

The ascii text string.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_image_fset

Defined in

fz_ffmt_api.h