Copyright © 2005-2019 MultiMedia Soft

Fader.Display.SetBackPictureFromFile method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets a background picture from a graphic file.

 

For details about using the Automatic Fader refer to the How to use the Automatic Fader section.

 

 

Syntax

 

[Visual Basic]

Public Function SetBackPictureFromFile (

strPathname as String

) as enumErrorCodes


 

[C#]

public enumErrorCodes SetBackPictureFromFile (

string strPathname

);


 

[C++]

public: enumErrorCodes SetBackPictureFromFile (

string strPathname

);


 

 

Parameter

Description

 

 

strPathname

Absolute pathname of the picture file to load. Accepted graphic formats are BMP, JPEG, GIF, TIFF and PNG.

An empty pathname will reset an eventual picture set through a previous call to this method.

 

 

 

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.