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.
Unfortunately, activation email could not send to your email. Please try again.

grid print preview can''t display all the text

Thread ID:

Created:

Updated:

Platform:

Replies:

95453 Jul 8,2010 11:56 PM Jul 13,2010 02:03 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
huangqi
Asked On July 8, 2010 11:56 PM

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 02:03 AM

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.

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.

;