Einhugur Xml Plugin for Xojo |

# Document.SaveToFile Method

Saves the document to file, taking in custom format flags. See constants on the EinhugurXml module.

SaveToFile(
f as FolderItem,
overwrite as Boolean,
formatModifier as Integer)

#### Parameters

f
  The file to save to.
overwrite
  If true then existing file if any will be overwritten.
formatModifier
  Format flags, see constants on the EinhugurXml module.

#### Remarks

This function can throw EinhugurXmlException.

#### See Also

Document Class