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



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

Parameters

fileName
Path to file 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