PdfFocusToMultipageTiff(Stream, Int32, Int32) Method |
Saves a specific PDF page or diapason of pages to multipage-TIFF document as a Stream object.
Namespace: SautinSoftAssembly: SautinSoft.PdfFocus (in SautinSoft.PdfFocus.dll) Version: 2024.3.28
Syntax public int ToMultipageTiff(
Stream stream,
int fromPage,
int toPage
)
Public Function ToMultipageTiff (
stream As Stream,
fromPage As Integer,
toPage As Integer
) As Integer
Parameters
- stream Stream
- Stream object to save the multipage-TIFF 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 - saving successfully.
2 - problem with parsing of PDF document. Please email this PDF document at
support@sautinsoft.com.
3 - problem with rendering of multipage-TIFF document. Please email this PDF document at
support@sautinsoft.com.
Remarks
Before converting you may set various image properties using the property
ImageOptions. For example, set:
- TIFFCompressionType - Choose compression: LZW , JPEG, CCITTFAX4.
- Dpi - image resolution in dots per inch. Default value: 200
- ColorDepth - color depth or bit depth is the number of bits used to represent the color of a single pixel. Default value: 24 bit RGB
See Also