O2S.Components.PDF4NET.Render Documentation
ConvertRenderListToImage Method



O2S.Components.PDF4NET.Rendering Namespace > PDFPageRenderer Class : ConvertRenderListToImage Method
The render list to be converted.
Output stream where the image will be saved.
The format used for saving the page image.
Settings for the rendering process.
Converts the render list to an image.
Syntax
'Declaration
 
Public Function ConvertRenderListToImage( _
   ByVal renderList As PDFRenderList, _
   ByVal stream As Stream, _
   ByVal pageImageFormat As PDFPageImageFormat, _
   ByVal settings As PDFRendererSettings _
) As O2S.Components.PDF4NET.Graphics.PDFSize
'Usage
 
Dim instance As PDFPageRenderer
Dim renderList As PDFRenderList
Dim stream As Stream
Dim pageImageFormat As PDFPageImageFormat
Dim settings As PDFRendererSettings
Dim value As O2S.Components.PDF4NET.Graphics.PDFSize
 
value = instance.ConvertRenderListToImage(renderList, stream, pageImageFormat, settings)
public O2S.Components.PDF4NET.Graphics.PDFSize ConvertRenderListToImage( 
   PDFRenderList renderList,
   Stream stream,
   PDFPageImageFormat pageImageFormat,
   PDFRendererSettings settings
)
public:
O2S.Components.PDF4NET.Graphics.PDFSize^ ConvertRenderListToImage( 
   PDFRenderList^ renderList,
   Stream^ stream,
   PDFPageImageFormat pageImageFormat,
   PDFRendererSettings^ settings
) 

Parameters

renderList
The render list to be converted.
stream
Output stream where the image will be saved.
pageImageFormat
The format used for saving the page image.
settings
Settings for the rendering process.

Return Value

Image size in pixels.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PDFPageRenderer Class
PDFPageRenderer Members