See Also

PageSettings Class  | PageSettings Members  | Margins class

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Margins Property

Gets or sets the default page margins of the report document.

[Visual Basic]
Public Property Margins As Margins
[C#]
public Margins Margins {get; set;}

Return Type

A Margins object that specifies the top, bottom, left and right margin settings in inches.

Example

[C#] 

private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs) 

    this.PageSettings.Margins.Bottom = 1.0f; 
    this.PageSettings.Margins.Left = 1.0f; 
    this.PageSettings.Margins.Right = 1.0f; 
    this.PageSettings.Margins.Top = 1.0f; 
}

[Visual Basic] 

Private Sub rptPageSettings_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
   Me.PageSettings.Margins.Bottom = 1.0F
   Me.PageSettings.Margins.Left = 1.0F
   Me.PageSettings.Margins.Right = 1.0F
   Me.PageSettings.Margins.Top = 1.0F
End Sub

See Also

PageSettings Class  | PageSettings Members  | Margins class

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.