Home |
Output File |
Output FileThe output file string field allows you to specify where and to what file name Image Convert will save the generated output file. Image Convert also uses this filename as the name of the final PegBitmap object. For this reason, you should enter the filename in exactly the form you want the resulting bitmap to be named, including upper and lower case characters. Image Convert pre-fixes the letters gb to the bitmap name, and post-fixes the letters Bitmap. For example, the following output name: C:\mybitmaps\House.cpp will result in the final bitmap being named gbHouseBitmap. This is the name you will use in your source code when referring to the bitmap. To use this bitmap on a PegBitmapButton button, for example, you would then do something similar to the following in your source code: extern PegBitmap gbHouseBitmap; void MyWindow::MyWindow(...) { Add(new PegBitmapButton(20, 20, &gbHouseBitmap)); ... } The naming convention for the resulting PegBitmap structures is slightly different when batch processing, which is described later.
|