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

fz_ffmt_cbak_image_vect_read_printer_data

Description

Reads raw vector data from a file. This function is called to read raw vector data from a file. This function allocates and fills a block of memory (pointer to by the data parameter) with raw vector data from a file. This function is provided so that raw vector data can be sent directly to a printer. NOTE: Currently, only PostScript data is supported.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_image_vect_read_printer_data(

fzrt_int

windex,

fz_ffmt_ref_td

ffmt_id,

fzrt_floc_ptr

floc,

fzrt_int *

data_size,

void **

data )

Parameters

windex [Input]

The active window.

ffmt_id [Input]

The file format reference id.

floc [Input]

The file to read from.

data_size [Result, Optional]

The size of the raw vector data allocated by this function.

data [Result, Optional]

The raw vector data.

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