GoDiagram Web Reference
RenderPage Method

the RectangleF describing what should be rendered, in document coordinates
the scale at which to paint each image, this will be no larger than ViewScale
the zero-based horizontal page number
the zero-based vertical page number
the number of horizontal pages required to display the whole view
the number of vertical pages required to display the whole view
Generate the IMG HTML element for a part of a GoView occupying a single page.
Syntax
'Declaration
 
Protected Overridable Sub RenderPage( _
   ByVal writer As HtmlTextWriter, _
   ByVal docExtent As RectangleF, _
   ByVal scale As Single, _
   ByVal pageX As Integer, _
   ByVal pageY As Integer, _
   ByVal pagesAcross As Integer, _
   ByVal pagesDown As Integer _
) 
protected virtual void RenderPage( 
   HtmlTextWriter writer,
   RectangleF docExtent,
   float scale,
   int pageX,
   int pageY,
   int pagesAcross,
   int pagesDown
)

Parameters

writer
docExtent
the RectangleF describing what should be rendered, in document coordinates
scale
the scale at which to paint each image, this will be no larger than ViewScale
pageX
the zero-based horizontal page number
pageY
the zero-based vertical page number
pagesAcross
the number of horizontal pages required to display the whole view
pagesDown
the number of vertical pages required to display the whole view
Remarks
You might want to override this method to customize the HTML that is generated, for example: for headers and/or footers.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoPrintView Class
GoPrintView Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback