System.Drawing [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 07 D1 FA 57 C4 AE D9 F0 A3 2E 84 AA 0F AE FD 0D E9 E8 FD 6A EC 8F 87 FB 03 76 6C 83 4C 99 92 1E B2 3B E7 9A D9 D5 DC C1 DD 9A D2 36 13 21 02 90 0B 72 3C F9 80 95 7F C4 E1 77 10 8F C6 07 77 4F 29 E8 32 0E 92 EA 05 EC E4 E8 21 C0 A5 EF E8 F1 64 5C 4C 0C 93 C1 AB 99 28 5D 62 2C AA 65 2C 1D FA D6 3D 74 5D 6F 2D E5 F1 7E 5E AF 0F C4 96 3D 26 1C 8A 12 43 65 18 20 6D C0 93 34 4D 5A D2 93] 1.0.3300.0 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object

This class is used by the and properties to get the paper sizes that are available on the printer and to set the paper size for a page, respectively.

You can use the constructor to specify a custom paper size. The and property values can be set only for custom objects.

For more information about printing, see the namespace overview.

Specifies the size of a piece of paper.

- Constructor
  2.0.0.0
  To be added.

  Initializes a new instance of the class.

- Constructor

  A created with this constructor always has its property set to . The and property values can be set only for custom objects.

  Initializes a new instance of the class.

  The name of the paper.
  The width of the paper, in hundredths of an inch.
  The height of the paper, in hundredths of an inch.
  1.0.5000.0
  2.0.0.0
- Property
  System.Int32 To be added: an object of type 'int'

  This height measurement is for the portrait orientation of the paper. The and property values can be set only for custom objects.

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

  1.0.5000.0
  2.0.0.0
- Property
  System.Drawing.Printing.PaperKind To be added: an object of type 'PaperKind'

  You can use the constructor to specify a custom paper size.

  Gets the type of paper.

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

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

  Gets or sets the name of the type of paper.

  1.0.5000.0
  2.0.0.0
- Property
  2.0.0.0
  System.Int32 To be added.

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

  Integer

  PaperSize member

  1

  2

  3

  4

  5

  6

  7

  8

  9

  10

  11

  12

  13

  14

  15

  16

  17

  18

  19

  20

  21

  22

  23

  24

  25

  26

  27

  28

  29

  30

  31

  32

  33

  34

  35

  36

  37

  38

  39

  40

  41

  42

  43

  44

  45

  46

  47

  50

  51

  52

  53

  54

  55

  56

  57

  58

  59

  60

  61

  62

  63

  64

  65

  66

  67

  68

  69

  70

  71

  72

  73

  74

  75

  76

  77

  78

  79

  80

  81

  82

  83

  84

  85

  86

  87

  88

  89

  90

  91

  92

  93

  94

  95

  96

  97

  98

  99

  100

  101

  102

  103

  104

  105

  106

  107

  108

  109

  110

  111

  112

  113

  114

  115

  116

  117

  118

  Greater than 118

  A custom paper size

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

- Method
  System.String To be added

  Provides information about the in string form.

  A string.

  1.0.5000.0
  2.0.0.0
- Property
  System.Int32 To be added: an object of type 'int'

  This width measurement is for the portrait orientation of the paper. The and property values can be set only for custom objects.

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

  1.0.5000.0
  2.0.0.0