Convert

Convert(string, LoadOptions, string, SaveOptions)

Converts source file in source format into destination file in destination format.

public static void Convert(string srcFileName, LoadOptions loadOptions, string dstFileName, 
    SaveOptions saveOptions)
Parameter Type Description
srcFileName String The source file name.
loadOptions LoadOptions The source file format.
dstFileName String The destination file name.
saveOptions SaveOptions The destination file format.

See Also


Convert(Stream, LoadOptions, string, SaveOptions)

Converts stream in source format into destination file in destination format.

public static void Convert(Stream srcStream, LoadOptions loadOptions, string dstFileName, 
    SaveOptions saveOptions)
Parameter Type Description
srcStream Stream The source stream.
loadOptions LoadOptions The source stream format.
dstFileName String The destination file name.
saveOptions SaveOptions The destination file format.

See Also


Convert(string, LoadOptions, Stream, SaveOptions)

Converts source file in source format into stream in destination format.

public static void Convert(string srcFileName, LoadOptions loadOptions, Stream dstStream, 
    SaveOptions saveOptions)
Parameter Type Description
srcFileName String The source file name.
loadOptions LoadOptions The source file format.
dstStream Stream The destination stream.
saveOptions SaveOptions The destination stream format.

See Also


Convert(Stream, LoadOptions, Stream, SaveOptions)

Converts stream in source format into stream in destination format.

public static void Convert(Stream srcStream, LoadOptions loadOptions, Stream dstStream, 
    SaveOptions saveOptions)
Parameter Type Description
srcStream Stream The source stream.
loadOptions LoadOptions The source stream format.
dstStream Stream The destination stream.
saveOptions SaveOptions The destination file format.

See Also


Convert(string, PdfFormat, ConvertErrorAction, ConvertTransparencyAction)

Convert document and save errors into the specified file.

public bool Convert(string outputLogFileName, PdfFormat format, ConvertErrorAction action, 
    ConvertTransparencyAction transparencyAction)
Parameter Type Description
outputLogFileName String Path to file where the comments will be stored.
format PdfFormat The pdf format.
action ConvertErrorAction Action for objects that can not be converted
transparencyAction ConvertTransparencyAction Action for image masked objects

Return Value

The operation result

See Also


Convert(Stream, PdfFormat, ConvertErrorAction, ConvertTransparencyAction)

Convert document and save errors into the specified file.

public bool Convert(Stream outputLogStream, PdfFormat format, ConvertErrorAction action, 
    ConvertTransparencyAction transparencyAction)
Parameter Type Description
outputLogStream Stream Stream where the comments will be stored.
format PdfFormat The pdf format.
action ConvertErrorAction Action for objects that can not be converted
transparencyAction ConvertTransparencyAction Action for image masked objects

Return Value

The operation result

See Also


Convert(string, PdfFormat, ConvertErrorAction)

Convert document and save errors into the specified file.

public bool Convert(string outputLogFileName, PdfFormat format, ConvertErrorAction action)
Parameter Type Description
outputLogFileName String Path to file where the comments will be stored.
format PdfFormat The pdf format.
action ConvertErrorAction Action for objects that can not be converted

Return Value

The operation result

See Also


Convert(PdfFormatConversionOptions)

Convert document using specified conversion options

public bool Convert(PdfFormatConversionOptions options)
Parameter Type Description
options PdfFormatConversionOptions set of options for convert PDF document

Return Value

The operation result

See Also


Convert(CallBackGetHocr)

Convert document and save errors into the specified file.

public bool Convert(CallBackGetHocr callback)
Parameter Type Description
callback CallBackGetHocr Action for objects that can not be converted

Return Value

The operation result

See Also


Convert(Stream, PdfFormat, ConvertErrorAction)

Convert document and save errors into the specified stream.

public bool Convert(Stream outputLogStream, PdfFormat format, ConvertErrorAction action)
Parameter Type Description
outputLogStream Stream Stream where the comments will be stored.
format PdfFormat Pdf format.
action ConvertErrorAction Action for objects that can not be converted

Return Value

The operation result

See Also


Convert(Fixup, Stream, bool, object[])

Convert document by applying the Fixup.

public bool Convert(Fixup fixup, Stream outputLog, bool onlyValidation = false, 
    object[] parameters = null)
Parameter Type Description
fixup Fixup The Fixup type.
outputLog Stream The log of process.
onlyValidation Boolean Only document validation.
parameters Object[] Properties for Fixup that can not be set.

Return Value

The operation result.

See Also


Convert(Fixup, string, bool, object[])

Convert document by applying the Fixup.

public bool Convert(Fixup fixup, string outputLog, bool onlyValidation = false, 
    object[] parameters = null)
Parameter Type Description
fixup Fixup The Fixup type.
outputLog String The log of process.
onlyValidation Boolean Only document validation.
parameters Object[] Properties for Fixup that can not be set.

Return Value

The operation result.

See Also