Win32Bmp() > Methods xHarbour Developers Network  

oWin32Bmp:loadFile()

Loads a bitmap image file into memory.

Syntax

:loadFile( <cFileName> ) --> lSuccess

Arguments

<cFileName>
This is a character string holding the name of the bitmap file to load into memory. It must be a full qualified file name including file extension. If <cFileName> does not include path information, the bitmap file is searched in the current directory.

Description

Method :loadFile() loads the specified bitmap file into memory and returns a logical value indicating success of the operation. When the file is successfully loaded, the return value is .T. (true). The bitmap can then be output with method :draw().


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe