|
|
|
SftPictureObject.NETImageObject Property |
Defines the image object using a .NET image object (IUnknown interface).
Syntax
VB.NET |
pUnknown = object.NETImageObject As Object |
||
VB |
pUnknown = object.NETImageObject As Unknown |
||
C#.NET |
object pUnknown = object.NETImageObject; |
||
VC++ |
IUnknown* pUnknown = object->NETImageObject;
|
||
C |
HRESULT object->get_NETImageObject(IUnknown** pUnknown); |
||
Delphi |
pUnknown := object.NETImageObject : IInterface; |
||
VB.NET |
object.NETImageObject = pUnknown As Object |
||
VB |
Set object.NETImageObject = pUnknown As Unknown |
||
C#.NET |
object object.NETImageObject = pUnknown; |
||
VC++ |
IUnknown* object->NETImageObject = pUnknown;
|
||
C |
HRESULT object->putref_NETImageObject(IUnknown* pUnknown); |
||
Delphi |
object.NETImageObject := pUnknown : IInterface; |
object
A SftPictureObject object.
pUnknown
Defines the image object using a .NET image object (IUnknown interface).
Comments
The NETImageObject property defines the image object using a .NET image object (IUnknown interface).
Typically, .NET applications use the NETImageObject property to define an image, C and C++ applications use BitmapHandle or Image, VB6 and other COM applications use the Picture property.
The SftPictureObject.Type property is set to sftTypeGDIPlus. The SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the image size.
Use of this property requires the SftHelperComponent component, which is added to each project (see "Using SftButton/OCX with .NET").