Saves the Pdf document to a file.

Namespace:  C1.Silverlight.Pdf
Assembly:  C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)

Syntax

C#
public void Save(
	string fileName
)
Visual Basic
Public Sub Save ( _
	fileName As String _
)

Parameters

fileName
Type: System..::..String
Name of the Pdf file to create.

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