|
|
|
SftPictureObject.Type Property |
Returns the defined image type.
Syntax
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;
|
||
C |
HRESULT object->get_Type(enum SftPictureTypeConstants* Style); |
||
Delphi |
Style := object.type_ : TOleEnum; |
object
A SftPictureObject object.
Style
Returns the defined image type.
Name |
Value |
Description |
0 |
None - The SftPictureObject is empty. |
|
1 |
IDispatch - Contains an OLE Picture object (supporting the IPicture or IPictureDisp interface). |
|
2 |
Bitmap - Contains a Windows bitmap. |
|
3 |
Icon - Contains an icon. |
|
4 |
ImageList - Contains an image from an ImageList control. |
|
5 |
Color Sample - Contains a color sample. |
|
6 |
Built-In Appearance - Contains a predefined built-in image. |
|
7 |
ImageListH - Contains an image from an ImageList control. |
|
8 |
GDIPlus - Contains a GDI+ image |
Comments
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.