formZ SDK | 4.0 Call Back Reference | Renderer

# fz_rndr_cbak_attr

Description

Returns whether a renderer has a particular capability. The attribute function is intended to tell formZ more detailed information about the renderer. The function receives a question in the form of an enum, and the function needs to return TRUE or FALSE as an answer to that question. Based on the answer, formZ will take the appropriate action with that renderer in various settings. For example, formZ may call this function with the FZ_RNDR_ATTR_IN_PVIEW enum. If the function returns TRUE, the rendering mode will be offered in dialogs, which offer object preview renderings, such as the Sweep Edit dialog. If the answer is FALSE, the rendering in not offered.

Plugin Prototype

fzrt_boolean fz_rndr_cbak_attr(

fzrt_int | windex,
fz_rndr_attr_enum | rndr_attr )

Parameters

windex [Input]

project window index

rndr_attr [Input]

the type of capability, the renderer is checked for.

Returns

TRUE, if the renderer supports a particular capability, FALSE otherwise.

Availability

5.0.0.0

Function Set

fz_rndr_cbak_fset

Defined in

fz_rndr_api.h