IPubConverter.ConvertToFormat

ConvertToFormat(Document, string, PubExportFormats)

Converts PUB document into format specified and saves result to file located at the fileName.

public void ConvertToFormat(Document doc, string fileName, PubExportFormats outFormat)
ParameterTypeDescription
docDocumentPUB document
fileNameStringLocation of the file
outFormatPubExportFormatsFormat options

See Also


ConvertToFormat(Document, Stream, PubExportFormats)

Converts PUB document into format specified and saves result into stream passed.

public void ConvertToFormat(Document doc, Stream outputStream, PubExportFormats outFormat)
ParameterTypeDescription
docDocumentPUB document
outputStreamStreamOutput stream
outFormatPubExportFormatsFormat options

See Also