Spread ASP.NET 6.0 Product Documentation
PrintMargin Constructor(Int32,Int32,Int32,Int32,Int32,Int32)
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > PrintMargin Class > PrintMargin Constructor : PrintMargin Constructor(Int32,Int32,Int32,Int32,Int32,Int32)


left
Size of the left margin in pixels
top
Size of the top margin in pixels
right
Size of the right margin in pixels
bottom
Size of the bottom margin in pixels
header
Size of the header margin in pixels

Glossary Item Box

Creates a new PrintMargin object with the specified margins.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal left As Integer, _
   ByVal top As Integer, _
   ByVal right As Integer, _
   ByVal bottom As Integer, _
   ByVal header As Integer, _
   ByVal footer As Integer _
)
Visual Basic (Usage)Copy Code
Dim left As Integer
Dim top As Integer
Dim right As Integer
Dim bottom As Integer
Dim header As Integer
Dim footer As Integer
 
Dim instance As New PrintMargin(left, top, right, bottom, header, footer)
C# 
public PrintMargin( 
   int left,
   int top,
   int right,
   int bottom,
   int header,
   int footer
)

Parameters

left
Size of the left margin in pixels
top
Size of the top margin in pixels
right
Size of the right margin in pixels
bottom
Size of the bottom margin in pixels
header
Size of the header margin in pixels
footer
Size of the footer margin in pixels

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.