Click or drag to resize
Pdf Library for .NET

WordToPdf Methods

The WordToPdf type exposes the following members.

Methods
 NameDescription
Public methodConvertBytes(Byte) Converts a Word document held in memory to pdf. The format is detected from the content (docx family, doc, rtf, WordML); plain text, html and markdown have no signature and must be named with ConvertBytes(Byte, WordFormat).
Public methodConvertBytes(Byte, WordFormat) Converts a Word document held in memory to pdf, reading it as the given format.
Public methodConvertFile(String) Converts the Word document at the given path to pdf. The format is taken from the file extension, or detected from the content when the extension is not one of the known ones.
Public methodConvertFile(String, WordFormat) Converts the Word document at the given path to pdf, reading it as the given format.
Public methodConvertStream(Stream) Converts the Word document read from a stream to pdf. The format is detected from the content (docx family, doc, rtf, WordML); plain text, html and markdown have no signature and must be named with ConvertStream(Stream, WordFormat).
Public methodConvertStream(Stream, WordFormat) Converts the Word document read from a stream to pdf, reading it as the given format.
Top
See Also