GrapeCity.Xaml.SpreadSheet.Data Namespace > PrintInfo Class : BestFitRows Property |
'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;}
true
if the row heights are adjusted to fit the tallest text for printing; otherwise, false
. The default value is false
.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
Target Platforms: Windows Server 2012, Windows RT