SftBox/OCX 4.5

SftPictureObject.NETImageObject Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

pUnknown = object.NETImageObject  As Object

VB

pUnknown = object.NETImageObject  As Unknown

C#.NET

object pUnknown = object.NETImageObject;

VC++

IUnknown* pUnknown = object->NETImageObject;
IUnknown* pUnknown = object->GetNETImageObject();

C

HRESULT object->get_NETImageObject(IUnknown** pUnknown);

Delphi

pUnknown := object.NETImageObject   : IInterface;

PutRef

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;
void object->PutRefNETImageObject(IUnknown* 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).

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 SftBox/OCX with .NET").


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com