SpreadsheetDocument.CheckPut
Syntax:
Parameters:
<Tables> (required)
Array consisting of tables being checked or spreadsheet document.
Returned value:
True - can be placed; False - otherwise.
Description:
Availability:
Note:
It should be noted that if margins for a spreadsheet document are smaller than those set for the printer which will print the document, the content of some strings may not fit the page, even if the method returns value True.
Example:
T.Add(DocumentHeader); T.Add(DocumentRow); T.Add(DocumentFooter); If Not Spreadsheet.CheckPut(T) Then Message("Document doesn't fit the page"); EndIf; |
See also: