SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the defined image type.
Get
VB.NET | Style = object.Type As SftPictureTypeConstants |
VB | Style = object.Type As SftPictureTypeConstants |
C#.NET | SftPictureTypeConstants Style = object.Type; |
VC++ | enum SftPictureTypeConstants Style = object->Type; enum SftPictureTypeConstants Style = object->GetType(); |
C | HRESULT object->get_Type(enum SftPictureTypeConstants* Style); |
object
Style
Returns the defined image type.
Name | Value | Description |
---|---|---|
sftTypeNone | 0 | None - The SftPictureObject is empty. |
sftTypeIDispatch | 1 | IDispatch - Contains an OLE Picture object (supporting the IPicture or IPictureDisp interface). |
sftTypeBitmap | 2 | Bitmap - Contains a Windows bitmap. |
sftTypeIcon | 3 | Icon - Contains an icon. |
sftTypeImageList | 4 | ImageList - Contains an image from an ImageList control. |
sftTypeColorSample | 5 | Color Sample - Contains a color sample. |
sftTypeBuiltin | 6 | Built-In Appearance - Contains a predefined built-in image. |
sftTypeImageListH | 7 | ImageListH - Contains an image from an ImageList control. |
sftTypeGDIPlus | 8 | GDIPlus - Contains a GDI+ image |
The Type property returns the defined image type.
The Type property reflects the type of the current image. It is modified by assigning an image to the SftPictureObject using a property such as SftPictureObject.Appearance, SftPictureObject.BitmapHandle, SftPictureObject.IconHandle, SftPictureObject.SetColorSample, etc.
See Also SftPictureObject Object | Object Hierarchy