Documents for PDF, .NET Edition Documentation
Save(String,Boolean) Method

GrapeCity.Documents.Pdf Assembly > GrapeCity.Documents.Pdf Namespace > GcPdfDocument Class > Save Method : Save(String,Boolean) Method
The name of the PDF file to create.
Indicates whether document should be saved using incremental updates.
Saves the current PDF document to a file.
Syntax
'Declaration
 
Public Overloads Sub Save( _
   ByVal fileName As System.String, _
   Optional ByVal incrementalUpdate As System.Boolean _
) 
public void Save( 
   System.string fileName,
   System.bool incrementalUpdate
)

Parameters

fileName
The name of the PDF file to create.
incrementalUpdate
Indicates whether document should be saved using incremental updates.
Remarks
Saving the PDF document to a file requires that the file be available for writing. If the file already exists and is in use by an application (such as the Adobe Acrobat Reader), the method will throw an exception.
See Also

Reference

GcPdfDocument Class
GcPdfDocument Members
Overload List