RasterRendererSave Method (Stream, RasterImageFormat, Int32, Int32, Int32, RenderingOptions)
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Renders PDF document page as image file in specified format to stream.
Namespace:Bytescout.PDFRendererAssembly: Bytescout.PDFRenderer (in Bytescout.PDFRenderer.dll) Version: 13.4.0.4759-master
Syntax
public void Save( Stream destStream, RasterImageFormat outputFormat, int pageIndex, int width, int height, RenderingOptions renderingOptions )
Parameters
- destStream
- Type: System.IOStream
Destination stream. - outputFormat
- Type: Bytescout.PDFRendererRasterImageFormat
Output image format. - pageIndex
- Type: SystemInt32
Page index. - width
- Type: SystemInt32
Width of the output image in pixels. Use -1 to calculate the width from height keeping the aspect ratio. - height
- Type: SystemInt32
Height of the output image in pixels. Use -1 to calculate the height from width keeping the aspect ratio. - renderingOptions
- Type: Bytescout.PDFRendererRenderingOptions
Additional conversion options.
Implements
IRasterRendererSave(Stream, RasterImageFormat, Int32, Int32, Int32, RenderingOptions)See Also