GrapeCity.Xaml.SpreadSheet.Data
BestFitRows Property
Example 


Gets or sets whether row heights are adjusted to fit the tallest text height for printing.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property BestFitRows As Boolean
'Usage
 
Dim instance As PrintInfo
Dim value As Boolean
 
instance.BestFitRows = value
 
value = instance.BestFitRows
[DefaultValue()]
public bool BestFitRows {get; set;}

Property Value

true if the row heights are adjusted to fit the tallest text for printing; otherwise, false. The default value is false.
Example
This example sets the BestFitRows property.
GrapeCity.Xaml.SpreadSheet.Data.PrintInfo printset = new GrapeCity.Xaml.SpreadSheet.Data.PrintInfo();
printset.BestFitRows = true;
printset.Centering = GrapeCity.Xaml.SpreadSheet.Data.Centering.Both;
printset.ColumnEnd = 10;
printset.ColumnStart = 0;
gcSpreadSheet1.Sheets[0].PrintInfo = printset;
Dim printset As New GrapeCity.Xaml.SpreadSheet.Data.PrintInfo()
printset.BestFitRows = True
printset.Centering = GrapeCity.Xaml.SpreadSheet.Data.Centering.Both
printset.ColumnEnd = 10
printset.ColumnStart = 0
GcSpreadSheet1.Sheets(0).PrintInfo = printset
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

PrintInfo Class
PrintInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options