IOFileConversion Class
Definition
Provides static methods to convert between file formats using registered converters.
public static class IOFileConversion
Methods
| Name | Description |
|---|---|
Convert<TTarget>(IOFile) |
Converts a file to the specified target file type. |
Convert(IOFile, IOFileFormat) |
Converts a file to the specified target format. |
Convert(IOFile, Type) |
Converts a file to the specified target type. |
ConvertToWav(IOFile, UInt32) |
Converts a file to WAV format with an optional custom sample rate. |
GetSupportedConversionFormats(IOFileFormat) |
Gets the formats that the specified source format can be converted to. |
TryConvert(IOFile, IOFileFormat, IOFile, String) |
Attempts to convert a file to the specified target format, returning false if the conversion fails. |