|
|
|
SftPictureObject.NETImageObject Property |
Defines the image object using a .NET image object (IUnknown interface).
Syntax
VB.NET |
pUnknown = object.NETImageObject As VT_UNKNOWN |
||
VB |
pUnknown = object.NETImageObject As VT_UNKNOWN |
||
C#.NET |
VT_UNKNOWN pUnknown = object.NETImageObject; |
||
VC++ |
VT_UNKNOWN pUnknown = object->NETImageObject;
|
||
C |
HRESULT object->get_NETImageObject(VT_UNKNOWN* pUnknown); |
||
Delphi |
pUnknown := object.NETImageObject : VT_UNKNOWN; |
||
VB.NET |
object.NETImageObject = pUnknown As VT_UNKNOWN |
||
VB |
Set object.NETImageObject = pUnknown As VT_UNKNOWN |
||
C#.NET |
VT_UNKNOWN object.NETImageObject = pUnknown; |
||
VC++ |
VT_UNKNOWN object->NETImageObject = pUnknown;
|
||
C |
HRESULT object->putref_NETImageObject(VT_UNKNOWN pUnknown); |
||
Delphi |
object.NETImageObject := pUnknown : VT_UNKNOWN; |
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 SftTree/OCX with .NET").
See Also SftPictureObject Object | Object Hierarchy