ChangeCurrentVariant Method
                In This Topic
            
            Change current representation type and variant of macro This function is more efficient as changing the Properties RepresentationType and Variant separately besides, this function throws an exception, if the variant does not exist
            
            
            Syntax
            
        
            Parameters
- nRepType
- Input parameter - Representation Type
- nVariant
- Input parameter - Variant id
 
            Exceptions
| Exception | Description | 
|---|
| System.ArgumentException | Thrown when parameters are not valid. p.e. a wrong Representation type or variant. | 
See Also