Microsoft SDK for Java

RichEdit.saveFile

Saves the control's contents to a specified location.

Syntax

public void saveFile( String path )

public synchronized void saveFile( String path, int fileType )

Parameters

path

The path to the file.

fileType

The type of file to save.  This value must be one of the enumeration constants defined in the RichEditStreamType class.

Exception

WFCInvalidArgumentException exception thrown if the value specified in fileType is invalid. WFCException thrown if an error occurs during the save operation.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.