SftButton/OCX 2.5

SftPictureObject.PictureH Property

Softel vdm, Inc.

Defines the image object as an OLE Picture object (using a bitmap/icon handle).

Deprecated - Provided for compatibility with earlier versions only - Use SftPictureObject.BitmapHandle or SftPictureObject.IconHandle instead

Syntax       

Get

VB.NET

Handle = object.PictureH  As Integer

VB

Handle = object.PictureH  As OLE_HANDLE

C#.NET

int Handle = object.PictureH;

VC++

OLE_HANDLE Handle = object->PictureH;
OLE_HANDLE Handle = object->GetPictureH();

C

HRESULT object->get_PictureH(OLE_HANDLE* Handle);

Delphi

Handle := object.PictureH  : Cardinal;

Put

VB.NET

object.PictureH = Handle  As Integer

VB

object.PictureH = Handle  As OLE_HANDLE

C#.NET

int object.PictureH = Handle;

VC++

OLE_HANDLE object->PictureH = Handle;
void object->PutPictureH(OLE_HANDLE Handle);

C

HRESULT object->put_PictureH(OLE_HANDLE Handle);

Delphi

object.PictureH := Handle  : Cardinal;

object

A SftPictureObject object.

Handle

Defines the image object as an OLE Picture object (using a bitmap/icon handle). The handle can be NULL, in which case the SftPictureObject is cleared.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use SftPictureObject.BitmapHandle or SftPictureObject.IconHandle instead

The PictureH property defines the image object as an OLE Picture object (using a bitmap/icon handle).

The SftPictureObject.Type property is set to sftTypeIDispatch.  The SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the image size.


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