Description |
---|
Excerpt |
---|
Sets or returns whether or not the data of the worksheet is centered horizontally within the margins. This is is set to false by default. (This is not supported for charts.) |
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 CenterHorizontally{ get; set; } </pre></td></tr></tbody></table> |
Signature | ||||
---|---|---|---|---|
| ||||
<p>Public Property CenterHorizontally() As Boolean</p> |
Example |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
//--- Get CenterHorizontally bool centerHoriz = ps.CenterHorizontally //--- Set CenterHorizontally ps.CenterHorizontally = true; |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
'--- Get CenterHorizontally Dim centerHoriz As Boolean = ps.CenterHorizontally '--- Set CenterHorizontally ps.CenterHorizontally = True |
Example |
---|