Save Recipe

Parent Previous Next

Save Recipe

Function to save a recipe document.


Syntax:

Void Save(String RecipeFile):
Save the Recipe in the default path.

Void Save(String RecipeFile,String Path):
Save Recipe in the path passed in the parameter. The path passed in the parameter will replace the Path configured in the Recipe Document.

Params:

String RecipeFile: A String parameter containing the name of the Recipe Document that will be saved.

String Path: A String parameter containing a Path that the Recipe will be saved.


Example:

Save the Recipe Document named 'Recipe1' in the default path.



SVRecipe.Save("Recipe1");

 


Save the Recipe Document named 'Recipe1' in the path 'C:\Recipes\recipe1.rpf'



SVRecipe.Save("Recipe1","C:\\Recipes\\recipe1.rpf");

 



 

 Note: The Parameter Path should have the name of the file with the extension .rpf