SaveAs method

The SaveAs method saves the Mathcad document to a file.

Syntax

longRet = objMC.SaveAs(Name)

Element

Description

longRet

Return value indicating success or failure.

objMC

A Mathcad document object.

Name

The complete path name for the file. Supplying a filename only will result in a save to the current working directory.

Remarks

This method is useful for saving the contents of a Mathcad Document object that was not created from a file.