InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / Theme Class / Load Method
The path to the new theme.
Example


In This Topic
    Load Method (Theme)
    In This Topic
    Loads a new theme into the current session document.
    Syntax
    'Declaration
     
    
    Public Sub Load( _
       ByVal pathName As String _
    ) 
    'Usage
     
    
    Dim instance As Theme
    Dim pathName As String
     
    instance.Load(pathName)
    public void Load( 
       string pathName
    )

    Parameters

    pathName
    The path to the new theme.
    Example
    class Program
    {
       private Theme theme;
                
       public Theme ApplicationTheme
       {
          set{theme = value;}
       }
                
       public void LoadTheme()
       {
          if(theme != null)
          {
            theme.Load("C:\\..");//path of the new theme.
          }
       }
    }
    See Also