Spread Windows Forms 15.0
FarPoint.Excel Assembly / FarPoint.Excel Namespace / SheetViewSynchronizer Class / SetDefaultWidthAndHeight(IExcelRead,CT_SheetFormatPr,Int16,Boolean,Single,Double,Double) Method
GrapeCity Spread
Worksheet
Index of the sheet
Only Import Data
Width of the char
Height of the default row
Width of the default col


In This Topic
    SetDefaultWidthAndHeight(IExcelRead,CT_SheetFormatPr,Int16,Boolean,Single,Double,Double) Method
    In This Topic
    Sets the height of the default width and.
    Syntax
    'Declaration
     
    
    Public Shared Sub SetDefaultWidthAndHeight( _
       ByVal spread As IExcelRead, _
       ByVal sheetFormatPr As CT_SheetFormatPr, _
       ByVal sheetIndex As Short, _
       ByVal dataOnly As Boolean, _
       ByRef charWidth As Single, _
       ByRef defaultRowHeight As Double, _
       ByRef defaultColWidth As Double _
    ) 
    'Usage
     
    
    Dim spread As IExcelRead
    Dim sheetFormatPr As CT_SheetFormatPr
    Dim sheetIndex As Short
    Dim dataOnly As Boolean
    Dim charWidth As Single
    Dim defaultRowHeight As Double
    Dim defaultColWidth As Double
     
    SheetViewSynchronizer.SetDefaultWidthAndHeight(spread, sheetFormatPr, sheetIndex, dataOnly, charWidth, defaultRowHeight, defaultColWidth)
    public static void SetDefaultWidthAndHeight( 
       IExcelRead spread,
       CT_SheetFormatPr sheetFormatPr,
       short sheetIndex,
       bool dataOnly,
       out float charWidth,
       out double defaultRowHeight,
       out double defaultColWidth
    )

    Parameters

    spread
    GrapeCity Spread
    sheetFormatPr
    Worksheet
    sheetIndex
    Index of the sheet
    dataOnly
    Only Import Data
    charWidth
    Width of the char
    defaultRowHeight
    Height of the default row
    defaultColWidth
    Width of the default col
    See Also