[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Printing.PaperSize

PaperSize Class

Specifies the size of a piece of paper in hundredths of an inch. This is a cross-platform version of System.Drawing.Printing.PaperSize.

Inheritance
PaperSize
Namespace: GrapeCity.ActiveReports.Printing
Assembly: MESCIUS.ActiveReports.dll
Syntax
public class PaperSize

Constructors

Name Description
PaperSize(PaperKind, string, int, int)

Initializes a new instance of PaperSize with the specified paper kind, name, width, and height.

PaperSize(string, int, int)

Initializes a new instance of PaperSize with a custom paper kind and the specified name, width, and height.

Properties

Name Description
Height

Gets or sets the height of the paper, in hundredths of an inch.

Kind

Gets the type of paper.

PaperName

Gets or sets the name of the type of paper.

RawKind

Gets or sets an integer representing one of the System.Drawing.Printing.PaperSize values or a custom value.

Width

Gets or sets the width of the paper, in hundredths of an inch.

Methods

Name Description
Equals(object)

Determines whether the specified object is equal to the current PaperSize.

GetHashCode()

Returns a hash code for the current PaperSize.

ToString()

Returns a string that represents the current PaperSize.

Operators

Name Description
operator ==(PaperSize, PaperSize)

Determines whether two PaperSize instances are equal.

operator !=(PaperSize, PaperSize)

Determines whether two PaperSize instances are not equal.

Extension Methods