Skip to content

CreatePicture Method

Description

Creates a StdPicture object from the ImageManagerIcon.

Syntax

Public Function CreatePicture( _
    ByVal state As [XTPImageState](XtremeCalendarControl~Enumerations~XTPImageState_EN.md) _
) As Object

Parameters

  • state: The state of the image to create.
  • xtpImageNormal: Specifies a normal icon. This is the image displayed when the item is displayed normally.
  • xtpImageDisabled: Specifies a disabled icon. This is the image displayed when the item is disabled.
  • xtpImageHot: Specifies a hot icon. This is the image displayed when the mouse pointer is positioned over the item.
  • xtpImageChecked: Specifies a "checked" or selected icon. This is the image displayed when the item is in a selected state.
  • xtpImagePressed: Specifies a "pressed" or pushed icon. This is the image displayed when the item is currently pressed by the mouse cursor.

Return Type

Returns a StdPicture object.

Remarks

CreatePicture creates and returns a StdPicture object from the ImageManagerIcon using the specified XTPImageState. The StdPicture object can then be used normally anywhere in your application.

See Also

ImageManagerIcon Object


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