Click or drag to resize

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: SautinSoft
Assembly: SautinSoft.PdfFocus (in SautinSoft.PdfFocus.dll) Version: 2024.3.28
Syntax
public int ToHtml(
	Stream stream,
	int fromPage,
	int toPage
)

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