Link Search Menu Expand Document

HTMLExtractorGetHTML Method (String)

Extracts HTML from specified page ranges.

Namespace:Bytescout.PDF2HTML
Assembly: Bytescout.PDF2HTML (in Bytescout.PDF2HTML.dll) Version: 13.3.1.4759-master
Syntax
public string GetHTML(
	string ranges
)

Parameters

ranges
Type: SystemString
Comma-separated list of page ranges in form "0-3,5,7-8,10-". Page indices are 0-based. Ending "-" means "to the last page". You can also use inverted page numbers adding '!' before the number. E.g. "!0" means "the last page", "1-!1" means "from the second to the penultimate page", "!1-" - last two pages".

Return Value

Type: String
HTML text.

Implements

IHTMLExtractorGetHTML(String)
Exceptions
ExceptionCondition
PDF2HTMLException
See Also

Reference