Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

NETImageObject Property, SftPictureObject Object

Defines the image object using a .NET image object (IUnknown interface).

Syntax

Get

VB.NETpUnknown = object.NETImageObject As Object
VBpUnknown = object.NETImageObject As Unknown
C#.NETobject pUnknown = object.NETImageObject;
VC++IUnknown* pUnknown = object->NETImageObject;
IUnknown* pUnknown = object->GetNETImageObject();
CHRESULT object->get_NETImageObject(IUnknown** pUnknown);

PutRef

VB.NETobject.NETImageObject = pUnknown As Object
VBSet object.NETImageObject = pUnknown As Unknown
C#.NETobject object.NETImageObject = pUnknown;
VC++IUnknown* object->NETImageObject = pUnknown;
void object->PutRefNETImageObject(IUnknown* pUnknown);
CHRESULT object->putref_NETImageObject(IUnknown* pUnknown);

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.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


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