Defines the image object using an OLE Picture object (IPictureDisp interface).
Syntax
|
Get
|
|
|
VB.NET
|
pPictureDisp = object.Picture As stdole.IPictureDisp
|
|
|
VB
|
Set pPictureDisp = object.Picture As IPictureDisp
|
|
|
C#.NET
|
stdole.IPictureDisp pPictureDisp = object.Picture;
|
|
|
VC++
|
IPictureDisp* pPictureDisp = object->GetPicture();
|
|
|
C
|
HRESULT object->get_Picture(IPictureDisp** pPictureDisp);
|
|
|
Delphi
|
pPictureDisp := object.Picture : IPictureDisp;
|
|
Put
|
|
|
VB.NET
|
object.let_Picture(ByVal pPictureDisp As stdole.IPictureDisp)
|
|
|
VB
|
object.Picture = pPictureDisp As IPictureDisp
|
|
|
C#.NET
|
void object.let_Picture(stdole.IPictureDisp pPictureDisp);
|
|
|
VC++
|
void object->PutPicture(IPictureDisp* pPictureDisp);
|
|
|
C
|
HRESULT object->put_Picture(IPictureDisp* pPictureDisp);
|
|
|
Delphi
|
procedure object._Set_Picture(pPictureDisp : IPictureDisp);
|
|
PutRef
|
|
|
VB.NET
|
object.Picture = pPictureDisp As stdole.IPictureDisp
|
|
|
VB
|
Set object.Picture = pPictureDisp As IPictureDisp
|
|
|
C#.NET
|
stdole.IPictureDisp object.Picture = pPictureDisp;
|
|
|
VC++
|
void object->PutRefPicture(IPictureDisp* pPictureDisp);
|
|
|
C
|
HRESULT object->putref_Picture(IPictureDisp* pPictureDisp);
|
|
|
Delphi
|
object.Picture := pPictureDisp : IPictureDisp;
|
object
A SftPictureObject object.
pPictureDisp
Defines the image object using an OLE Picture object (IPictureDisp interface).
For information about picture properties, please visit the applicable
section "Using SftTree/OCX with ...".
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.ActualHeight and SftPictureObject.ActualWidth properties
reflect the image size.
See Also SftPictureObject Object | Object Hierarchy
sftpictureobject_picture.htmlSftTreeOCX70_sftpictureobject_picture.html
Feedback
/ comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com