SpreadsheetDocument.BeginWriting

Syntax:

BeginWriting(<NotifyDescription>, <FileName>, <SpreadsheetFileType>)

Parameters:

<NotifyDescription> (optional)

Type: NotifyDescription.
Contains a description of the procedure that is called upon completion of file writing with the following parameters:
  • <Result> - operation result:
    • True, if the writing was initiated using extensions for the browser and the user agreed to receive it, i. e. file writing was complete.
    • False, if writing was initiated using extensions for the browser, but the user did not agree to receive it, i. e. file writing was not complete.
    • Undefined, if writing was initiated by file download using browser tools and it is not known if the file was written or not.
  • <AdditionalParameters> - value specified when the object was created NotifyDescription.
If the parameter is not specified or is of the Undefined type, no procedure is called upon completion.

<FileName> (required)

Type: String.
Name of the file where spreadsheet document is saved.

<SpreadsheetFileType> (optional)

Type: SpreadsheetDocumentFileType.
Format in which spreadsheet document will be saved.
Default value: MXL.

Description:

Begins writing a spreadsheet document to a file.

Availability:

Thin client, web-client, thick client.

Note:

You cannot save files in XLS95 format when working on the web client.
Saving Metafile pictures to PDF is not supported.
When working on the web client, the method execution calls the server.
When PDF format is output, fonts that cannot be embedded or are not TrueType or OpenType fonts, are replaced with Arial font. If this font is not found, Helvetica font is used.

See also:

SpreadsheetDocument, method Write

    

1C:Enterprise Developer's Community