ConvertToXodAsync Method (IFilter) |
Converts the input Filter to XOD format.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static IAsyncOperation<IFilter> ToXodAsync(
IFilter filter
)
Public Shared Function ToXodAsync (
filter As IFilter
) As IAsyncOperation(Of IFilter)
public:
static IAsyncOperation<IFilter^>^ ToXodAsync(
[InAttribute] IFilter^ filter
)
pdftron.PDF.Convert.ToXodAsync = function(filter);
Parameters
- filter
- Type: pdftron.FiltersIFilter
The source Filter of the file to convert.
Return Value
Type:
IAsyncOperationIFilterWhen this operation completes, an
IFilter instance is returned that contains the converted data.
Remarks
Use this method to convert a file pointed by any Windows Runtime stream handles (i.e. IInputStream,
IStorageFile, etc.). Wrap the Windows Runtime stream with PDFNet's filter classes, then pass it to this
method.
Examples IStorageFile file = ...
using (var fileFilter = new IStorageFileFilter(file)) {
var doc = new PDFDoc();
var output = await Convert.ToXodAsync(fileFilter);
}
See Also