Skip to content

SetImageOverlayFromImageFile2

function

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

Loads the image overlay specified by Index (0 for the 1st image overlay, 1 for the 2nd, etc.) from the specified file. Various image formats are supported. See the Image overlays chapter for more information about overlays.