ActiveReports 12
Margins Constructor(Single,Single,Single,Single)

GrapeCity.ActiveReports.Document.v12 Assembly > GrapeCity.ActiveReports.Document.Section Namespace > Margins Class > Margins Constructor : Margins Constructor(Single,Single,Single,Single)
Specifies the left margin, in inches.
Specifies the top margin, in inches.
Specifies the right margin, in inches.
Specifies the bottom margin, in inches.

Initializes a new instance of the Margins class with the specified margins.

Syntax
'Declaration
 
Public Function New( _
   ByVal left As Single, _
   ByVal top As Single, _
   ByVal right As Single, _
   ByVal bottom As Single _
)
public Margins( 
   float left,
   float top,
   float right,
   float bottom
)

Parameters

left
Specifies the left margin, in inches.
top
Specifies the top margin, in inches.
right
Specifies the right margin, in inches.
bottom
Specifies the bottom margin, in inches.
Exceptions
ExceptionDescription
Left margin value must be greater than 0 or Top margin value must be greater than 0 or Right margin value must be greater than 0 or Bottom margin value must be greater than 0
See Also

Reference

Margins Class
Margins Members
Overload List