Skip to content

LoadVectorIcon Method

See Also

ImageManagerIcons Collection


LoadVectorIcon Method

Syntax

Public Function LoadVectorIcon( _
    ByVal [Path](#) As String, _
    ByVal [nIDCommand](#) As Long, _
    ByVal [nWidth](#) As Long, _
    ByVal [imageState](#) As [XTPImageState](XtremeCalendarControl~Enumerations~XTPImageState_EN.md) _
) As Boolean

Parameters

Parameter Description
Path Specifies the path to the vector icon file.
nIDCommand Specifies the command ID associated with the icon.
nWidth Specifies the width of the icon.
imageState Specifies the state of the icon. Possible values include:
- xtpImageNormal: This is the image displayed when the item is displayed normally.
- xtpImageDisabled: This is the image displayed when the item is disabled.
- xtpImageHot: This is the image displayed when the mouse pointer is positioned over the item.
- xtpImageChecked: This is the image displayed when the item is in a selected state.
- xtpImagePressed: This is the image displayed when the item is currently pressed by the mouse cursor.

See Also

ImageManagerIcons Collection


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.