See Also

PageSettings Class  | PageSettings Members  | PaperKind Property

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

PaperName Property

Gets or sets the name of the type of paper.

[Visual Basic]
Public Property PaperName As String
[C#]
public string PaperName {get; set;}

Return Type

String. The name of the type of custom paper.

Remarks

You can set the paper name only if the PaperKind property is set to Custom.

Example

[C#] 

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

    this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Custom; 
    this.PageSettings.PaperHeight = 3; 
    this.PageSettings.PaperWidth = 5; 
    this.PageSettings.PaperName = "Logo Labels"; 
}

[Visual Basic] 

Private Sub rptDD_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
    Me.PageSettings.PaperKind = Printing.PaperKind.Custom
    Me.PageSettings.PaperHeight = 3
    Me.PageSettings.PaperWidth = 5
    Me.PageSettings.PaperName = "Logo Labels"
End Sub

See Also

PageSettings Class  | PageSettings Members  | PaperKind Property

 

 


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