LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

PrintPageEventArgs Constructor






The page margins to use
The size of the printable area
Initializes a new instance of PrintPageEventArgs with the specified values. .NET support
Syntax
public PrintPageEventArgs( 
   Thickness pageMargins,
   Size printableArea
)
'Declaration
 
Public Function New( _
   ByVal pageMargins As Thickness, _
   ByVal printableArea As Size _
)
'Usage
 
Dim pageMargins As Thickness
Dim printableArea As Size
 
Dim instance As New PrintPageEventArgs(pageMargins, printableArea)
public PrintPageEventArgs( 
   Thickness pageMargins,
   Size printableArea
)
function PrintPageEventArgs( 
   pageMargins ,
   printableArea 
)
public:
PrintPageEventArgs( 
   Thickness pageMargins,
   Size printableArea
)

Parameters

pageMargins
The page margins to use
printableArea
The size of the printable area
Example

For an example, refer to PrinterHelper.CreateCanvas.

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

PrintPageEventArgs Class
PrintPageEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.