grid print preview can''t display all the text

gridcell display full text ,but print preview(print) can't display full text,see the attachment.Syncfusion 3.3.0.0 grid used this.gridControl1.RowHeights.ResizeToFit(GridRangeInfo.Table());
grid print used GridPrintDocument



1_448eb2f4.rar

1 Reply

JJ Jisha Joy Syncfusion Team July 13, 2010 06:03 AM UTC

Hi,

You could resolve the issue by making sure that the grid is using the fonts with World GraphicsUnits. This just requires adding 2 lines in your form's constructor as shown here.
[C#]
public Form1()
{

InitializeComponent();
this.gc.TableStyle.Font.Unit = GraphicsUnit.World;
this.gc.TableStyle.Font.Size = GridFontInfo.SizeInWorldUnit(this.Font);
}

Regards,
Jisha

Loader.
Up arrow icon