BB FlashBack SDK: FBEditor

GetZoomPanRect

Description

Returns the size and position of any zoompan rectangles added to a given frame.

Syntax

[C#/C++]
public void GetZoomPanRect (long FrameNum, long *X, long *Y, long *Width, long *Height);

[VB.NET]
Public Sub GetZoomPanRect (ByVal FrameNum As Integer, ByRef X As Integer, ByRef Y As Integer, ByRef Width As Integer, ByRef Height As Integer)
 

Parameters

FrameNum (in) - the number of the frame to retrieve ZoomPan rectangles for

X (out) - X co-ordinate of the top left corner of the ZoomPan rect

Y (out) - Y co-ordinate of the top left corner of the ZoomPan rect

Width (out) - width of the ZoomPan rect

Height (out) - height of the ZoomPan rect

Remarks

If no ZoomPan rectangles have been added to that frame, the returned Height and Width are zero.
 

See Also

The FBZoomPanObjects class