Implement this method to return the path to an icon file which will be displayed in Revit
user interfaces associated to this server.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2015
Syntax
| C# |
|---|
string GetIconPath() |
| Visual Basic |
|---|
Function GetIconPath As String |
| Visual C++ |
|---|
String^ GetIconPath() |
Return Value
The image file of the server.
Remarks
The specified image will be displayed in the browser dialogs when the user is selecting a resource of a compatible type.
The return must be the full path to an icon file containing 48x48, 32x32 and 16x16 pixel images.
If this method returns anything other than a valid icon file, a default image will be used for the server.