Click or drag to resize
Pdf Library for .NET

PdfToTextSaveHtml Method (String, Encoding)

Gets the text from a PDF document wrapped in HTML tags and saves it into a file.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public void SaveHtml(
	string fileName,
	Encoding encoding
)

Parameters

fileName
Type: SystemString
File name.
encoding
Type: System.TextEncoding
Text encoding.
Remarks
The resulted HTML will contain only text. No images are extracted using this method. Pages that participate to this operation are specified by StartPageNumber and EndPageNumber properties.
See Also