SftButton/OCX 2.5

SftPictureObject Object (ISftPictureObject Interface)

Softel vdm, Inc.

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

Property/Method

Description

ActualHeight

Returns the actual height of the image.

ActualWidth

Returns the actual width of the image.

Appearance

Defines the image object using a built-in, special purpose image.

BitmapHandle

Defines the image object using a bitmap handle.

Clear

Clears the image object.

FrameColor

Defines the border color of the color sample.

GetColorSample

Retrieves the picture object attributes defined as a color sample.

GetImage

Retrieves the picture object attributes defined as a GDI+ image.

GetImageList

Retrieves the picture object attributes defined as an ImageList image.

GetImageListH

Retrieves the picture object attributes defined as an ImageList image.

Height

Defines the desired image height.

IconHandle

Defines the image object using an icon handle.

Image

Defines the image object using a GDI+ image.

IsEmpty

Returns whether the image object is empty.

LoadImage

Loads an image from a file as a GDI+ image.

LoadImageFromHBITMAP

Loads an image from a bitmap handle as a GDI+ image.

LoadImageFromResource

Loads an image from a resource as a GDI+ image.

NETImageObject

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

Picture

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

PictureH

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

SampleColor

Defines the picture object as a color sample.

SetColorSample

Defines the picture object as a color sample.

SetImage

Defines the picture object attributes defined as a GDI+ image.

SetImageList

Defines the picture object as an ImageList image.

SetImageListH

Defines the picture object as an ImageList image.

Type

Returns the defined image type.

Width

Defines the desired image width.

See Also  Object Hierarchy


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