Link Search Menu Expand Document

IHTMLExtractorGetHTML Method (String)

Extracts HTML from specified page ranges.

Namespace:Bytescout.PDF2HTML
Assembly: Bytescout.PDF2HTML (in Bytescout.PDF2HTML.dll) Version: 13.2.1.4490-master
Syntax
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.
Exceptions
ExceptionCondition
PDF2HTMLException
See Also

Reference


Copyright © 2016 - 2021 ByteScout