Command
QisLib_SetWindow

Purpose


Function:
	int QisLib_SetWindow(CQisWindow Window);

Inputs:
	Window: lower-left and upper-right co-ordinates of the window to be set.

Return:
	success: 0
	failure: one of the following values :

Errors:
	-1: File open in progress, operation not permitted.

Description:
	- Sets the desired window used for retreiving vector data and images.
	- The extents of the window set are adjusted to the aspect ratio of the image size in
	pixels before being set. Use QisLib_SetExactWindow to set the window exactly as
	specified by the extents.
	- The extents of the window must be specified either in database units (DBU) or user
	units (UU) depending on the QisLib_SetVectorUnit setting (user units by default).
	- If the 'DisplayHandle' parameter to QisLib_InitLib is set to NULL (no display mode),
	this function will not adjust the window to the aspect ratio of the image size in
	pixels. It behaves exactly like QisLib_SetExactWindow.

References:
CQisWindow
QisLib_SetExactWindow
QisLib_SetVectorUnit