formZ SDK | 5.0 API Reference | Project | Window Manager

# fz_wind_get_image_rect

Description

Gets the image rectangle for the project window. This is the area of the window that the image appears in and where all interactive input happens. This rectangle is in local screen coordinates relative to the upper left corner of the window.

Plugin Prototype

fzrt_error_td fz_wind_get_image_rect(

fzrt_int | windex,
fzrt_rect * | rect )

Parameters

windex [Input]

project window index

rect [Result]

image rectangle size and location

Returns

Error codes

Availability

5.0.0.0

Example Files

util_wind.fsl

See Also

Function Set

fz_wind_fset

Defined in

fz_wind_api.h