Skip to content

SetImageOverlayFromImageFile

function

Deprecated

Kept for backward compatibility only.

Delphi
function SetImageOverlayFromImageFile (FileName: string): Boolean;
C++Builder
bool __fastcall SetImageOverlayFromImageFile(System::UnicodeString FileName);
C#
public bool SetImageOverlayFromImageFile(string FileName);
VB.NET
Public Function SetImageOverlayFromImageFile(FileName As String) As Boolean
C++/Qt
BOOL SetImageOverlayFromImageFile (wchar_t *FileName);

Loads the current image overlay from a file

Remarks

Deprecated: use SetImageOverlayFromImageFile2 instead, with the image overlay index as the first parameter.

Used to load the image overlay currently selected by ImageOverlaySelector from the specified file

Various image formats are supported.

See the Image overlays chapter for more information about overlays.