Share

IExternalResourceServer.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: 26.2.0.0 (26.2.0.0)

Syntax

C#

string GetIconPath()

Return Value

String
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

Reference

Was this information helpful?