Revit 2022 API |
IExternalResourceServer..::..GetIconPath Method |
IExternalResourceServer Interface See Also |
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.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
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.