Preset.FromFile Method
Loads a preset from a file.
Namespace: Microsoft.Expression.Encoder
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)
Syntax
'Declaration
Public Shared Function FromFile ( _
filePath As String _
) As Preset
'Usage
Dim filePath As String
Dim returnValue As Preset
returnValue = Preset.FromFile(filePath)
public static Preset FromFile (
string filePath
)
public:
static Preset^ FromFile (
String^ filePath
)
Parameters
filePath
Path of the preset file.
Return Value
A preset object.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Preset Class
Preset Members
Microsoft.Expression.Encoder Namespace