Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
WaveformAnalyzer.SetBackPictureFromFile method 
 
Remarks 
 
Sets a background picture from a picture file in BMP format. 
 
For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section. 
For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer class section. 
 
 
 
Syntax 
 
[Visual Basic] 
Public Function SetBackPictureFromFile
strPathname as String, 
nMode as enumBitmapModes 
 
[C#] 
public enumErrorCodes SetBackPictureFromFile
string strPathname
);
 
[C++] 
public: enumErrorCodes SetBackPictureFromFile
string strPathname, 
);
 
 
Parameter
Description
 
 
strPathname
Absolute pathname of the BMP file to load.
nMode
Bitmap mode. 
Supported values are the following: 
Mnemonic constant
Value
Meaning
BITMAP_MODE_TOP_LEFT
0
Bitmap will be drawn in top-left position on the destination rectangle
BITMAP_MODE_CENTER
1
Bitmap will be drawn in centered position on the destination rectangle
BITMAP_MODE_STRETCH
2
Bitmap will be stretched in order to fit the destination rectangle
BITMAP_MODE_TILE
3
Bitmap will be tiled in order to fill the destination rectangle
 
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.NOERROR (0)
The method call was successful.
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents