ConvertToXodAsync Method (PDFDoc) |
Converts the input PDFDoc to XOD format.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static IAsyncOperation<IFilter> ToXodAsync(
PDFDoc doc
)
Public Shared Function ToXodAsync (
doc As PDFDoc
) As IAsyncOperation(Of IFilter)
public:
static IAsyncOperation<IFilter^>^ ToXodAsync(
[InAttribute] PDFDoc^ doc
)
pdftron.PDF.Convert.ToXodAsync = function(doc);
Parameters
- doc
- Type: pdftron.PDFPDFDoc
The source PDFDoc instance.
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 PDFDoc doc = ...
using (var result = await Convert.ToXodAsync(doc)) {
var reader = new FilterReader(result);
reader.Read(...)
...
}
See Also