Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

The RowProperties class represents a single row in a worksheet. To return a RowProperties object, use Worksheet.GetRowProperties.

Signature
C#
C#
 public sealed class RowProperties
{signature}{signature:
}
Signature
vb.net
vb.net
Public NotInheritable Class RowProperties
{signature}
{example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#


          ExcelApplication xla = new ExcelApplication();
          Workbook wb = xla.Create();
          Worksheet ws = wb.Worksheets[0];
          RowProperties rowProps = ws.GetRowProperties(0);
        
{code} {code:vbnet|title=
Code Block
vbnet
vbnet
titlevb.net
}


          Dim xla As New ExcelApplication()
          Dim wb As Workbook = xla.Create()
          Dim ws As Worksheet = wb.Worksheets(0)
          Dim rowProps As RowProperties = ws.GetRowProperties(0)
        
{code} {example} {properties} ||Name||Description|| |[Height|RowProperties.Height]|{excerpt-include:RowProperties.Height|nopanel=true}| |[Hidden|RowProperties.Hidden]|{excerpt-include:RowProperties.Hidden|nopanel=true}| |[OutlineCollapsed|RowProperties.OutlineCollapsed]|{excerpt-include:RowProperties.OutlineCollapsed|nopanel=true}| |[OutlineLevel|RowProperties.OutlineLevel]|{excerpt-include:RowProperties.OutlineLevel|nopanel=true}| |[RowNumber|RowProperties.RowNumber]|{excerpt-include:RowProperties.RowNumber|nopanel=true}| |[Style|RowProperties.Style]|{excerpt-include:RowProperties.Style|nopanel=true}| {methods} ||Name||Description|| |[ApplyStyle(Style)|RowProperties.ApplyStyle(Style)]|{excerpt-include:RowProperties.ApplyStyle(Style)|nopanel=true}| |[AutoFitHeight()|RowProperties.AutoFitHeight()]|{excerpt-include:RowProperties.AutoFitHeight()|nopanel=true}|
Properties

Name

Description

Height

Excerpt Include
RowProperties.Height
RowProperties.Height
nopaneltrue

Hidden

Excerpt Include
RowProperties.Hidden
RowProperties.Hidden
nopaneltrue

OutlineCollapsed

Excerpt Include
RowProperties.OutlineCollapsed
RowProperties.OutlineCollapsed
nopaneltrue

OutlineLevel

Excerpt Include
RowProperties.OutlineLevel
RowProperties.OutlineLevel
nopaneltrue

RowNumber

Excerpt Include
RowProperties.RowNumber
RowProperties.RowNumber
nopaneltrue

Style

Excerpt Include
RowProperties.Style
RowProperties.Style
nopaneltrue
Methods

Name

Description

ApplyStyle(Style)

Excerpt Include
RowProperties.ApplyStyle(Style)
RowProperties.ApplyStyle(Style)
nopaneltrue

AutoFitHeight()

Excerpt Include
RowProperties.AutoFitHeight()
RowProperties.AutoFitHeight()
nopaneltrue