Description |
---|
Excerpt |
---|
Sets whether ExcelWriter should truncate imported data rows and columns that do not fit within the target rows and columns in the spreadsheet. If Truncate is not enabled, an exception will be thrown if the number of rows or columns imported exceeds the number of target rows or columns in the spreadsheet. |
Signature | ||||
---|---|---|---|---|
| ||||
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre> public boolean Truncate{ set; } </pre></td></tr></tbody></table> |
Signature | ||||
---|---|---|---|---|
| ||||
<p>Public WriteOnly Property Truncate() As Boolean</p> |
Example |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
//--- Get Truncate bool truncate = importProps.Truncate; //--- Set Truncate importProps.Truncate = true; |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
'--- Get Truncate Dim truncate As Boolean = importProps.Truncate '--- Set Truncate importProps.Truncate = True |
Example |
---|