O2S.Components.PDF4NET.Render Documentation
Save(Stream,PDFPageImageFormat) Method



O2S.Components.PDF4NET.Rendering.RenderingSurfaces Namespace > PDFRenderingSurface Class > Save Method : Save(Stream,PDFPageImageFormat) Method
Stream where the rendering surface is saved.
Image format for saving the rendering surface
Saves the rendering surface to the specified stream.
Syntax
'Declaration
 
Public Overloads Sub Save( _
   ByVal stream As Stream, _
   ByVal format As PDFPageImageFormat _
) 
'Usage
 
Dim instance As PDFRenderingSurface
Dim stream As Stream
Dim format As PDFPageImageFormat
 
instance.Save(stream, format)
public void Save( 
   Stream stream,
   PDFPageImageFormat format
)
public:
void Save( 
   Stream^ stream,
   PDFPageImageFormat format
) 

Parameters

stream
Stream where the rendering surface is saved.
format
Image format for saving the rendering surface
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

PDFRenderingSurface Class
PDFRenderingSurface Members
Overload List