FromFile Method (NPalette)
Loads a NPalette object from the specified file.
'Declaration
Public Shared Function FromFile( _
ByVal As System.String, _
ByVal As System.Type _
) As NPalette
'Usage
Dim filePath As System.String
Dim type As System.Type
Dim value As NPalette
value = NPalette.FromFile(filePath, type)
public static NPalette FromFile(
System.string ,
System.Type
)
Parameters
- filePath
- The fully qualified path to the specified file.
- type
- The type of the NPalette object requesting the load.
Return Value
The newly created NPalette.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2