ConvertStreamingPDFConversionAsync Method (PDFDoc, IStorageFile, IConversionOptions) |
Create a DocumentConversion object suitable for converting a file to pdf.
This conversion will be performed entirely within PDFNet, and handles incoming files in .docx, .xlsx, pptx, .doc, .png, .jpg, .bmp, .gif, .jp2 and .tif format
This method does not perform any conversion logic and can be expected to return quickly. To do the actual conversion, use the returned DocumentConversion object (see PDF.DocumentConversion)
Font requirements: on some systems you may need to specify extra font resources to aid in conversion. Please see http://www.pdftron.com/kb_fonts_and_builtin_office_conversion
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static IAsyncOperation<DocumentConversion> StreamingPDFConversionAsync(
PDFDoc doc,
IStorageFile file,
IConversionOptions options
)
Public Shared Function StreamingPDFConversionAsync (
doc As PDFDoc,
file As IStorageFile,
options As IConversionOptions
) As IAsyncOperation(Of DocumentConversion)
public:
static IAsyncOperation<DocumentConversion^>^ StreamingPDFConversionAsync(
[InAttribute] PDFDoc^ doc,
[InAttribute] IStorageFile^ file,
[InAttribute] IConversionOptions^ options
)
pdftron.PDF.Convert.StreamingPDFConversionAsync = function(doc, file, options);
Parameters
- doc
- Type: pdftron.PDFPDFDoc
the conversion result will be appended to this pdf - file
- Type: IStorageFile
the source file - options
- Type: pdftron.PDFIConversionOptions
the conversion options
Return Value
Type:
IAsyncOperationDocumentConversionA DocumentConversion object which encapsulates this particular conversion
See Also