InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / MouseMapper Class / MouseMap Property
Example


In This Topic
    MouseMap Property (MouseMapper)
    In This Topic
    Gets or sets the name of the mouse map file.
    Syntax
    'Declaration
     
    
    Public Property MouseMap As String
    'Usage
     
    
    Dim instance As MouseMapper
    Dim value As String
     
    instance.MouseMap = value
     
    value = instance.MouseMap
    public string MouseMap {get; set;}
    Exceptions
    ExceptionDescription
    This exception is thrown when you modify a property that was secured via the Permissions Manager or that can only be modified by an Administrator.
    Remarks
    When setting the filename, if the value is not a full path, InfoConnect searches the user's InfoConnect document folder and the Built-Ins/Keyboard Maps folder.

    If the file cannot be found there, or the full path passed in does not exist, a FileNotFoundException is thrown.

    Example
    private MouseMapper mapper;
                
    public string GetMouseMap()
    {
      string map;
      if(mapper != null)
      {
         map = mapper.MouseMap;
         return map;
      }
    }
    See Also