Skip to content

GetImage Method

Description

Retrieves an image so it can be used outside of Codejock components.

Syntax

Public Function GetImage( _
    ByVal [Command] As Long, _
    ByVal [Width] As Long _
) As [ImageManagerIcon](XtremeCalendarControl~ImageManagerIcon.md)

Parameters

  • Command: Id of an Image within the control's Icons collection.
  • Width: Width of the Image to retrieve. If the image with the Command does not have an image of the specified width, then the image size that is the closest match will be Scaled to the desired size.

Return Type

An ImageManagerIcon object that contains the specified image.

Remarks

The image will be stretched or compressed as necessary to the specified Width if there is not an image with the specified width in the Icons collection.

See Also


See Also


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