Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

Picture Property, SftPictureObject Object

Defines the image object using an OLE Picture object (IPictureDisp interface).

Syntax

Get

VB.NETpPictureDisp = object.Picture As stdole.IPictureDisp
VBSet pPictureDisp = object.Picture As IPictureDisp
C#.NETstdole.IPictureDisp pPictureDisp = object.Picture;
VC++IPictureDisp* pPictureDisp = object->GetPicture();
CHRESULT object->get_Picture(IPictureDisp** pPictureDisp);

Put

VB.NETobject.let_Picture(ByVal pPictureDisp As stdole.IPictureDisp)
VBobject.Picture = pPictureDisp As IPictureDisp
C#.NETvoid object.let_Picture(stdole.IPictureDisp pPictureDisp);
VC++void object->PutPicture(IPictureDisp* pPictureDisp);
CHRESULT object->put_Picture(IPictureDisp* pPictureDisp);

PutRef

VB.NETobject.Picture = pPictureDisp As stdole.IPictureDisp
VBSet object.Picture = pPictureDisp As IPictureDisp
C#.NETstdole.IPictureDisp object.Picture = pPictureDisp;
VC++void object->PutRefPicture(IPictureDisp* pPictureDisp);
CHRESULT object->putref_Picture(IPictureDisp* pPictureDisp);

object

A SftPictureObject object.

pPictureDisp

Defines the image object using an OLE Picture object (IPictureDisp interface).

Comments

The Picture property defines the image object using an OLE Picture object (IPictureDisp 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 sftTypeIDispatch. The SftPictureObject.Height and SftPictureObject.Width properties reflect the image size.

See Also SftPictureObject Object | Object Hierarchy


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