PaperKindItem(String, SizeF, Int32, PaperKind, Single, Boolean) Constructor

Initializes a new instance of the PaperKindItem class with the specified settings.

Namespace: DevExpress.XtraReports.Wizards

Assembly: DevExpress.XtraReports.v18.1.dll

Declaration

public PaperKindItem(
    string name,
    SizeF size,
    int id,
    PaperKind paperKind,
    float unitDpi,
    bool isRollPaper
)
Public Sub New(
    name As String,
    size As SizeF,
    id As Integer,
    paperKind As PaperKind,
    unitDpi As Single,
    isRollPaper As Boolean
)

Parameters

Type Name Description
String name

A String value. This value is assigned to the PaperKindItem.Name property.

SizeF size

A SizeF structure. This value is assigned to the PaperKindItem.Size property.

Int32 id

An integer value.

PaperKind paperKind

A PaperKind enumeration value.

Single unitDpi

A floating-point value. This value is assigned to the PaperKindItem.UnitDpi property.

Boolean isRollPaper

true, to enable the roll paper mode; otherwise, false. This value is assigned to the PaperKindItem.IsRollPaper property.