VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Ico Namespace / IconPage Class / SetHotspotForCursor(Int32,Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    SetHotspotForCursor(Int32,Int32) Method (IconPage)
    In This Topic
    Sets coordinates of hotspot for cursor.
    Syntax
    'Declaration
    
    Public Sub SetHotspotForCursor( _
    ByVal hotspotX
    The X coordinate of hotspot.
    As System.Int32, _
    ByVal hotspotY
    The Y coordinate of hotspot.
    As System.Int32 _
    )
    public void SetHotspotForCursor(
    System.Int32 hotspotX,
    System.Int32 hotspotY
    )
    public: void SetHotspotForCursor(
    System.Int32 hotspotX,
    System.Int32 hotspotY
    )
    public:
    void SetHotspotForCursor(
    System.Int32 hotspotX,
    System.Int32 hotspotY
    )

    Parameters

    hotspotX
    The X coordinate of hotspot.
    hotspotY
    The Y coordinate of hotspot.
    Exceptions
    ExceptionDescription
    Thrown if hotspotX is less than 0 or greater than Width -or- hotspotY is less than 0 or greater than Height.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also