SpreadsheetDocument.CheckAttachment
Syntax:
Parameters:
<Tables> (required)
Array of tables being checked.
Returned value:
True - can be placed; False - otherwise.
True - if FitToPage=True.
Description:
Availability:
Note:
Example:
//Tables - array of tables //Column - area being added(has the SpreadsheetDocument type) Tables.Add(Column); If Not Spreadsheet.CheckAttachment(Tables) Then Message("Document can't fit the page width!"); EndIf; |
See also: