SpreadsheetDocumentTemplateParameters.Fill

Syntax:

Fill(<Object>)

Parameters:

<Object> (required)

Type: Arbitrary.
Object from properties of which spreadsheet document template parameters will be filled.

Description:

Use it to fill parameters by transferred object property values. Only parameter names which are the same as object property names are filled.

Availability:

Server, thick client, external connection, Mobile application (client), Mobile application (server).

Example:

K=0;
While 
Selection.Next() Do
    K = K+1;
    TemplateArea = Template.GetArea("String");
    TemplateArea.Parameters.Fill(Selection);
    TemplateArea.Parameters.LineNumber = K;
    Spreadsheet.Put(TemplateArea);
EndDo
;


    

1C:Enterprise Developer's Community