ConvertStreamingPDFConversion Method (String, 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, .tif, .txt, .xml and .md 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 DocumentConversion StreamingPDFConversion(
string filePath,
IConversionOptions options
)
Public Shared Function StreamingPDFConversion (
filePath As String,
options As IConversionOptions
) As DocumentConversion
public:
static DocumentConversion^ StreamingPDFConversion(
[InAttribute] String^ filePath,
[InAttribute] IConversionOptions^ options
)
pdftron.PDF.Convert.StreamingPDFConversion = function(filePath, options);
Parameters
- filePath
- Type: SystemString
the path to the source document - options
- Type: pdftron.PDFIConversionOptions
the conversion options
Return Value
Type:
DocumentConversionA DocumentConversion object which encapsulates this particular conversion
See Also