Issues with printing

Hi,

I am using GoView to display graphical objects. But there are some issues while printing.
The area currently visible on the view is not printed on one page. Means on view, larger range is displayed on screen than that of printed in respect to visible view area on screen.
But the requirement is that print out should represent a 1:1 depiction of the screen picture.
So how can i implement the above requirement by using GoView object?

GoDiagram, by default, prints the document, not the view. If you want to print the view, you need to create a GoView class that overrides these methods:

   public class MyGoView : GoDrawView {

     public override SizeF PrintDocumentSize {
       get {
         return this.DocExtentSize;
       }
     }

     public override PointF PrintDocumentTopLeft {
       get {
         return new PointF(this.DocExtent.X, this.DocExtent.Y);
       }
     }
   }

Hi,

Issue is resolved with following code for printing visible view on one page:
public override SizeF PrintDocumentSize { get { return this.DocExtentSize; } } public override PointF PrintDocumentTopLeft { get { return new PointF(this.DocExtent.X, this.DocExtent.Y); } }

But now i am not able to print whole visible view which displays on screen.

Actually requirement is that besides this functionality as 1:1 printing, user should be able to print all visible area or to print specific page by by providing page no from & to under print dialog.
Please provide me the solution.
Thanks