RepresentableDocumentBatch.BeginWritingFileForPrinting

Syntax:

BeginWritingFileForPrinting(<NotifyDescription>, <FileName>)

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 NotifyDescription object was created.
If the parameter is not specified or is of the Undefined type, no procedure is called upon completion.

<FileName> (required)

Type: String.
It contains the full name of the file into which the documents should be recorded.

Description:

Begins saving the file that you can use to print the package in future.

Availability:

Thin client, web-client, thick client.

See also:

RepresentableDocumentBatch, method WriteFileForPrinting

    

1C:Enterprise Developer's Community