PdfFocusToHtml(Stream, Int32, Int32) Method |
Saves a specific PDF page or diapason of pages into a HTML (Fixed or Flowing) format as a Stream object.
Namespace: SautinSoftAssembly: SautinSoft.PdfFocus (in SautinSoft.PdfFocus.dll) Version: 2025.4.23
Syntaxpublic int ToHtml(
Stream stream,
int fromPage,
int toPage
)
Public Function ToHtml (
stream As Stream,
fromPage As Integer,
toPage As Integer
) As Integer
Parameters
- stream Stream
- Stream object to save a HTML document. Stream must be not null.
- fromPage Int32
- The starting page to export into HTML.
- toPage Int32
- The ending page to export into HTML.
Return Value
Int32
0 - Converting successfully.
2 - An issue occurred during the parsing of PDF document. Please email this PDF document at
support@sautinsoft.com.
3 - An issue occurred during the rendering into HTML format. Please email this PDF document at
support@sautinsoft.com.
See Also