We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

grid print preview can''t display all the text

Thread ID:

Created:

Updated:

Platform:

Replies:

95453 Jul 9,2010 03:56 AM UTC Jul 13,2010 06:03 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
huangqi
Asked On July 9, 2010 03:56 AM UTC

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

Jisha Joy [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;