Back to FabImage Library website

You are here: Start » Function Reference » Debug Preview » DebugPreviewCloseWindow

DebugPreviewCloseWindow


Header: FIL.h
Namespace: fil
Module: FoundationLite

Closes a debug preview window.

Syntax

void fil::DebugPreviewCloseWindow
(
	DebugPreviewWindowState& ioWindow
)

Parameters

Name Type Default Description
Input will be modified
ioWindow DebugPreviewWindowState& State object of window to be closed.

Description

This function will close the window bound to the specified state object (opened by DebugPreviewShowImage or DebugPreviewShowRegion) and free the resource occupied by the state object.

After call to this function, the state object will become invalid. Function invoked on an invalid state object ends with no results.