IconManager.GetIconPath Method (String, String, Int32, Int32) |
Get the path to the specified icon. If the icon is not already known then the provided
defaultPath is used and cached. If the icon is specified in the Icons
feature then the dimensions are also returned if they can be determined. If no dimensions
are available then height and width will be zero.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntaxpublic string GetIconPath(
string name,
string defaultPath,
out int height,
out int width
)
Public Function GetIconPath (
name As String,
defaultPath As String,
<OutAttribute> ByRef height As Integer,
<OutAttribute> ByRef width As Integer
) As String
Parameters
- name
- Type: System.String
The name of the icon, e.g. "Find". - defaultPath
- Type: System.String
The default virtual path to the icon. - height
- Type: System.Int32
The height of the icon, zero if not known. - width
- Type: System.Int32
The width of the icon, zero if not known.
Return Value
Type:
StringThe virtual path to the image.
See Also