Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

LoadImage Method, SftPictureObject Object

Loads an image from a file as a GDI+ image.

Syntax

VB.NETobject.LoadImage(ByVal Filename As String, ByVal UseEmbeddedColorManagement As Boolean)
VBobject.LoadImage(ByVal Filename As String, ByVal UseEmbeddedColorManagement As Boolean)
C#.NETvoid object.LoadImage(string Filename, bool UseEmbeddedColorManagement);
VC++HRESULT object->LoadImage<span id="C0">SftMask</span>(_bstr_t Filename, VARIANT_BOOL UseEmbeddedColorManagement);
CHRESULT object->raw_LoadImageSftMask(BSTR Filename, VARIANT_BOOL UseEmbeddedColorManagement);

object

A SftPictureObject object.

Filename

The name of the file containing a GDI+ image.

UseEmbeddedColorManagement

Defines whether the Image object applies color correction according to color management information that is embedded in the image file. Embedded information can include International Color Consortium (ICC) profiles, gamma values, and chromaticity information. True to enable color correction, False otherwise.

Comments

The LoadImage method loads an image from a file as a GDI+ image.

The image object is owned by the control and will be deleted when it is no longer used.

C/C++ Only: The LoadImage method is renamed to LoadImageSftMask by the #import statement used (see "Using SftMask/OCX with Visual C++ 6.0" or "Using SftMask/OCX with Visual Studio (Unmanaged C/C++)") to avoid a conflict with the Windows LoadImage macro.

See Also SftPictureObject Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.