GetIconPath Method


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: 2015.0.0.0 (2015.0.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.

See Also