Are there plans to have RadDataEntry implement the IPrintable interface so it can be used with RadPrintDocument?
1 Answer, 1 is accepted
answered on 21 Oct 2014, 10:32 AM
Thank you for writing.
Currently, there we do not have plans to implement the IPrintable interface for RadDataEntry since we have not had users requesting such functionality. If we receive additional reports we will consider the possibility.
For the time being, you can manually implement the interface:
public class PrintableRadDataEntry : RadDataEntry, IPrintable
#region IPrintable Members
public int BeginPrint(RadPrintDocument sender, PrintEventArgs args)
public bool EndPrint(RadPrintDocument sender, PrintEventArgs args)
public bool PrintPage(int pageNumber, RadPrintDocument sender, PrintPageEventArgs args)
Bitmap bmp = new Bitmap(this.Width, this.Height);
this.DrawToBitmap(bmp, new Rectangle(Point.Empty, this.Size));
public Form GetSettingsDialog(RadPrintDocument document)