Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns the width of the workbook's window.

Signature
C#
C#

 public int Width{ get; set; }
Signature
vb.net
vb.net

Public Property Width() As Integer
Example
 
Code Block
csharp
csharp
titleC#
          
//--- Get the width of the workbook window
          int winWidth = wb.Width;

          //--- Set the width of the workbook window
          wb.Width = 500;
        
Code Block
vb.net
vb.net
titlevb.net
          
'--- Get the width of the workbook window
          Dim winWidth As Integer = wb.Width

          '--- Set the width of the workbook window
          wb.Width = 500
        
Example