Defines the image object using a .NET image object (IUnknown interface).
Get
| C# | object pUnknown = object.NETImageObject; |
| VB.NET | pUnknown = object.NETImageObject As Object |
| C++ | IUnknown* pUnknown = object->NETImageObject; IUnknown* pUnknown = object->GetNETImageObject(); |
| C | HRESULT object->get_NETImageObject(IUnknown** pUnknown); |
| VB | pUnknown = object.NETImageObject As Unknown |
PutRef
| C# | object object.NETImageObject = pUnknown; |
| VB.NET | object.NETImageObject = pUnknown As Object |
| C++ | IUnknown* object->NETImageObject = pUnknown; void object->PutRefNETImageObject(IUnknown* pUnknown); |
| C | HRESULT object->putref_NETImageObject(IUnknown* pUnknown); |
| VB | Set object.NETImageObject = pUnknown As Unknown |
object
pUnknown
Defines the image object using a .NET image object (IUnknown interface).
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.Height and SftPictureObject.Width properties reflect the image size.
Use of this property requires the SftHelperComponent component, which is added to each project (see "Using SftMask/OCX with .NET").
See Also SftPictureObject Object | Object Hierarchy