formZ SDK | 5.0 API Reference | Project | Modeling | Attributes

# fz_objt_attr_get_objt_refn

Description

Get the display resolution attribute of an object. The fz_attr_refn_ptr refn parameter must be created and deleted by the calling function. For example :
(windex,&refn); (windex,obj,&has_refn,refn); ... (windex,&refn);
Note, that an object may not have a display resolution attribute, in which case the has_refn parameter will be returned as FALSE.

Plugin Prototype

fzrt_error_td fz_objt_attr_get_objt_refn(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_boolean * | has_refn,
fz_attr_refn_ptr | refn )

Parameters

windex [Input]

project window index

obj [Input]

object

has_refn [Result, Optional]

TRUE if the object has a display resolution attribute. FALSE otherwise.

refn [Result, Optional]

display resolution attribute

Returns

Error codes

Availability

5.0.0.0

Example Files

util_attr_refn.fsl

See Also

Function Set

fz_objt_attr_fset

Defined in

fz_objt_refn_api.h