Excel for WPF and Silverlight
DefaultRowHeight Property (XLSheet)

C1.WPF.Excel Namespace > XLSheet Class : DefaultRowHeight Property
Gets or sets the default row height for the sheet (in twips).
Syntax
'Declaration
 
Public Property DefaultRowHeight As System.Integer
public System.int DefaultRowHeight {get; set;}
Remarks

You can set the height of individual rows using the XLRow class. Any rows that do not have a custom height assigned to them will be displayed using the sheet's DefaultRowHeight.

The DefaultRowHeight property is expressed in twips (1/20th of a point), rather than pixels. This allows sheets to maintain their aspect regardless of the resolution of the display.

To convert twips into pixels, use the C1XLBook.TwipsToPixels method in C1XLBook. To convert pixels into twips, use the PixelsToTwips method.

See Also

Reference

XLSheet Class
XLSheet Members