GoDiagram Win Reference
PrintDecoration Method

the current horizontal page number
the total number of pages to be printed in the horizontal direction
the current vertical page number
the total number of pages to be printed in the vertical direction
Draw any printed decorations on the paper that would not normally be part of a window view.
Syntax
'Declaration
 
Protected Overridable Sub PrintDecoration( _
   ByVal g As Graphics, _
   ByVal e As PrintPageEventArgs, _
   ByVal hpnum As Integer, _
   ByVal hpmax As Integer, _
   ByVal vpnum As Integer, _
   ByVal vpmax As Integer _
) 
protected virtual void PrintDecoration( 
   Graphics g,
   PrintPageEventArgs e,
   int hpnum,
   int hpmax,
   int vpnum,
   int vpmax
)

Parameters

g
e
hpnum
the current horizontal page number
hpmax
the total number of pages to be printed in the horizontal direction
vpnum
the current vertical page number
vpmax
the total number of pages to be printed in the vertical direction
Remarks
By default this just draws little corners for more precise cuts when piecing all of the printed sheets together.
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

GoView Class
GoView Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback