CreateDisplayList(String,String,RepresentationType,Int32,Project) Method
                In This Topic
            
            Creates a display list for a macro. A display list is a set of graphical placements to be drawn. Removes the representation of previously displayed objects when creating a new list.
            
            
            Syntax
            
        
            Parameters
- strMacroFile
- Full file name of a window macro.
- strConverter
- Name of a file converter. Parameter may be empty. A file converter can be used to convert a file into a temporary macro file. After converting, the content of the temp. macro file will be used to create a display list. This is reserved for future enhancements. Today, it is not possible to write an own converter by API.
- nRepType
- Representation Type of Macro.
- nVariant
- Index of the macro variant.
- pProject
- Project which provides display properties.
 
            Exceptions
| Exception | Description | 
|---|
| ArgumentException | Thrown in case of invalid parameters. | 
| ArgumentNullException | A null reference is passed to a
                                        parameter. | 
| BaseException | An error occurred, when creating the
                                display list. | 
See Also