Saves the contents of the RichTextEditor to a PDF file.

Namespace: RTE
Assembly: RichTextEditor (in RichTextEditor.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public void SavePDF(
	string path
)
Visual Basic
Public Sub SavePDF ( _
	path As String _
)
Visual C++
public:
void SavePDF(
	String^ path
)

Parameters

path
Type: System..::..String
The name and location of the file to save.

Remarks

The SavePDF method enables you to save the entire contents of the control to a PDF file. If the file name that is passed to the path parameter already exists at the specified directory, the file will be overwritten without notice.

Examples

CopyC#
editor1.SavePDF("~/doc/mtPDF.pdf");

See Also