Gets or sets the name of the type of paper.
Syntax
Visual Basic (Declaration) | |
---|
Public Property PaperName As System.String |
C# | |
---|
public System.string PaperName {get; set;} |
Property Value
String. The name of the type of custom paper.
Remarks
Example
C# | Copy Code |
---|
private void SectionReport1_ReportStart(object sender, System.EventArgs eArgs)
{
this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Custom;
this.PageSettings.PaperHeight = 3;
this.PageSettings.PaperName = "Logo Labels";
this.PageSettings.PaperWidth = 5;
} |
Visual Basic | Copy Code |
---|
Private Sub SectionReport1_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.PaperName = "Logo Labels"
Me.PageSettings.PaperWidth = 5
End Sub |
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