TaggedPdfToMarkdownConverter Class

Converts tagged PDF documents to Markdown. The headings, paragraphs, lists, tables, links, quotes and code of the document are written with the Markdown syntax. A document without tags is written as paragraphs of text

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.1.0
C#
public class TaggedPdfToMarkdownConverter
Inheritance
Object    TaggedPdfToMarkdownConverter

Constructors

TaggedPdfToMarkdownConverter Creates a tagged PDF to Markdown converter with default options

Properties

DocumentStructureUsed Gets a value indicating whether the tags of the last converted document were used to produce the Markdown
ImageFileName The name of the image files saved when ImageMode is File, without number and extension. The default value is "image"
ImageMode The way the images of the figures of the document are written in Markdown. The default value is None
ImagesFolder The folder where the images are saved as PNG or JPEG files when ImageMode is File
ImagesLinkPath The path written before the image file names in the Markdown links when ImageMode is File. By default it is the name of the images folder
MaxPageCount Upper limit for the number of PDF pages to convert. A value of 0 means there is no upper limit
OwnerPassword Owner password to open a password-protected PDF document
UserPassword User password to open a password-protected PDF document

Methods

ConvertToMarkdown(Byte) Converts all pages of a PDF document in a memory buffer to Markdown
ConvertToMarkdown(Stream) Converts all pages of a PDF document in a stream to Markdown
ConvertToMarkdown(String) Converts all pages of a PDF file to Markdown
ConvertToMarkdown(Byte, Int32) Converts the pages of a PDF document in a memory buffer to Markdown, starting from a given page
ConvertToMarkdown(Stream, Int32) Converts the pages of a PDF document in a stream to Markdown, starting from a given page
ConvertToMarkdown(String, Int32) Converts the pages of a PDF file to Markdown, starting from a given page
ConvertToMarkdown(Byte, Int32, Int32) Converts a range of pages of a PDF document in a memory buffer to Markdown
ConvertToMarkdown(Stream, Int32, Int32) Converts a range of pages of a PDF document in a stream to Markdown
ConvertToMarkdown(String, Int32, Int32) Converts a range of pages of a PDF file to Markdown
ConvertToMarkdownAsync(Byte, CancellationToken) Asynchronously converts all pages of a PDF document in a memory buffer to Markdown
ConvertToMarkdownAsync(Stream, CancellationToken) Asynchronously converts all pages of a PDF document in a stream to Markdown
ConvertToMarkdownAsync(String, CancellationToken) Asynchronously converts all pages of a PDF file to Markdown
ConvertToMarkdownAsync(Byte, Int32, CancellationToken) Asynchronously converts the pages of a PDF document in a memory buffer to Markdown, starting from a given page
ConvertToMarkdownAsync(Stream, Int32, CancellationToken) Asynchronously converts the pages of a PDF document in a stream to Markdown, starting from a given page
ConvertToMarkdownAsync(String, Int32, CancellationToken) Asynchronously converts the pages of a PDF file to Markdown, starting from a given page
ConvertToMarkdownAsync(Byte, Int32, Int32, CancellationToken) Asynchronously converts a range of pages of a PDF document in a memory buffer to Markdown
ConvertToMarkdownAsync(Stream, Int32, Int32, CancellationToken) Asynchronously converts a range of pages of a PDF document in a stream to Markdown
ConvertToMarkdownAsync(String, Int32, Int32, CancellationToken) Asynchronously converts a range of pages of a PDF file to Markdown
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also