Export (0) Print
Expand All

PaperSize.RawKind Property

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

Namespace:  System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public int RawKind { get; set; }

Property Value

Type: System.Int32
An integer representing one of the PaperSize values, or a custom value.

The following table shows the integer values of the PaperSize enumeration members. A value equal to 48 or 49 or larger than 118 indicates a custom paper size; however, the RawKind property will return the actual integer value for the size.

Integer

PaperSize member

1

Letter

2

LetterSmall

3

Tabloid

4

Ledger

5

Legal

6

Statement

7

Executive

8

A3

9

A4

10

A4Small

11

A5

12

B4

13

B5

14

Folio

15

Quarto

16

Standard10x14

17

Standard11x17

18

Note

19

Number9Envelope

20

Number10Envelope

21

Number11Envelope

22

Number12Envelope

23

Number14Envelope

24

CSheet

25

DSheet

26

ESheet

27

DLEnvelope

28

C5Envelope

29

C3Envelope

30

C4Envelope

31

C6Envelope

32

C65Envelope

33

B4Envelope

34

B5Envelope

35

B6Envelope

36

ItalyEnvelope

37

MonarchEnvelope

38

PersonalEnvelope

39

USStandardFanfold

40

GermanStandardFanfold

41

GermanLegalFanfold

42

IsoB4

43

JapanesePostcard

44

Standard9x11

45

Standard10x11

46

Standard15x11

47

InviteEnvelope

50

LetterExtra

51

LegalExtra

52

TabloidExtra

53

A4Extra

54

LetterTransverse

55

A4Transverse

56

LetterExtraTransverse

57

APlus

58

BPlus

59

LetterPlus

60

A4Plus

61

A5Transverse

62

B5Transverse

63

A3Extra

64

A5Extra

65

B5Extra

66

A2

67

A3Transverse

68

A3ExtraTransverse

69

JapanesePostcard

70

A6

71

JapaneseEnvelopeKakuNumber2

72

JapaneseEnvelopeKakuNumber3

73

JapaneseEnvelopeChouNumber3

74

JapaneseEnvelopeChouNumber4

75

LetterRotated

76

A3Rotated

77

A4Rotated

78

A5Rotated

79

B4JisRotated

80

B5JisRotated

81

JapanesePostcardRotated

82

JapaneseDoublePostcardRotated

83

A6Rotated

84

JapaneseEnvelopeKakuNumber2Rotated

85

JapaneseEnvelopeChouNumber3Rotated

86

JapaneseEnvelopeChouNumber4Rotated

87

JapaneseEnvelopeChouNumber4Rotated

88

B6Jis

89

B6JisRotated

90

Standard12x11

91

JapaneseEnvelopeYouNumber4

92

JapaneseEnvelopeYouNumber4Rotated

93

Prc16K

94

Prc32K

95

Prc32KBig

96

PrcEnvelopeNumber1

97

PrcEnvelopeNumber2

98

PrcEnvelopeNumber3

99

PrcEnvelopeNumber4

100

PrcEnvelopeNumber5

101

PrcEnvelopeNumber6

102

PrcEnvelopeNumber7

103

PrcEnvelopeNumber8

104

PrcEnvelopeNumber9

105

PrcEnvelopeNumber10

106

Prc16KRotated

107

Prc32KRotated

108

Prc32KBigRotated

109

PrcEnvelopeNumber1Rotated

110

PrcEnvelopeNumber2Rotated

111

PrcEnvelopeNumber3Rotated

112

PrcEnvelopeNumber4Rotated

113

PrcEnvelopeNumber5Rotated

114

PrcEnvelopeNumber6Rotated

115

PrcEnvelopeNumber7Rotated

116

PrcEnvelopeNumber8Rotated

117

PrcEnvelopeNumber9Rotated

118

PrcEnvelopeNumber10Rotated

Greater than 118

A custom paper size

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft