Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftPictureObject Object (ISftPictureObject Interface)

The SftPictureObject object describes a graphic consisting of a bitmap, icon, metafile, ImageList, built-in image or color sample.

Property/MethodDescription
ActualHeightReturns the actual height of the image.
ActualWidthReturns the actual width of the image.
AppearanceDefines the image object using a built-in, special purpose image.
BitmapHandleDefines the image object using a bitmap handle.
ClearClears the image object.
FrameColorDefines the border color of the color sample.
GetColorSampleRetrieves the picture object attributes defined as a color sample.
GetImageRetrieves the picture object attributes defined as a GDI+ image.
GetImageListRetrieves the picture object attributes defined as an ImageList image.
GetImageListHRetrieves the picture object attributes defined as an ImageList image.
HeightDefines the desired image height.
IconHandleDefines the image object using an icon handle.
ImageDefines the image object using a GDI+ image.
IsEmptyReturns whether the image object is empty.
LoadImageLoads an image from a file as a GDI+ image.
LoadImageFromHBITMAPLoads an image from a bitmap handle as a GDI+ image.
LoadImageFromResourceLoads an image from a resource as a GDI+ image.
NETImageObjectDefines the image object using a .NET image object (IUnknown interface).
PictureDefines the image object using an OLE Picture object (IPictureDisp interface).
PictureHDefines the image object as an OLE Picture object (using a bitmap/icon handle).
SampleColorDefines the picture object as a color sample.
SetColorSampleDefines the picture object as a color sample.
SetImageDefines the picture object attributes defined as a GDI+ image.
SetImageListDefines the picture object as an ImageList image.
SetImageListHDefines the picture object as an ImageList image.
TypeReturns the defined image type.
WidthDefines the desired image width.

See Also Object Hierarchy


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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.