System.Drawing.Printing.PaperSize PaperKind/RawKind详解
PaperSize 类
C# 全选
namespace System.Drawing.Printing
{
//
// 摘要:
// Specifies the size of a piece of paper.
public class PaperSize
{
//
// 摘要:
// Initializes a new instance of the System.Drawing.Printing.PaperSize class with
// default properties.
public PaperSize();
//
// 摘要:
// Initializes a new instance of the System.Drawing.Printing.PaperSize class.
public PaperSize(string name, int width, int height);
//
// 摘要:
// Gets or sets the height of the paper, in hundredths of an inch.
public int Height { get; set; }
//
// 摘要:
// Gets the type of paper.
public PaperKind Kind { get; }
//
// 摘要:
// Gets or sets the name of the type of paper.
public string PaperName { get; set; }
//
// 摘要:
// Same as Kind, but values larger than or equal to DMPAPER_LAST do not map to PaperKind.Custom.
public int RawKind { get; set; }
//
// 摘要:
// Gets or sets the width of the paper, in hundredths of an inch.
public int Width { get; set; }
//
// 摘要:
// Provides some interesting information about the PaperSize in String form.
public override string ToString();
}
}
PaperKind 枚举
C# 全选
namespace System.Drawing.Printing
{
//
// 摘要:
// Specifies the standard paper sizes.
public enum PaperKind
{
//
// 摘要:
// The paper size is defined by the user.
Custom = 0,
//
// 摘要:
// Letter paper (8.5 in. by 11 in.).
Letter = 1,
//
// 摘要:
// Letter small paper (8.5 in. by 11 in.).
LetterSmall = 2,
//
// 摘要:
// Tabloid paper (11 in. by 17 in.).
Tabloid = 3,
//
// 摘要:
// Ledger paper (17 in. by 11 in.).
Ledger = 4,
//
// 摘要:
// Legal paper (8.5 in. by 14 in.).
Legal = 5,
//
// 摘要:
// Statement paper (5.5 in. by 8.5 in.).
Statement = 6,
//
// 摘要:
// Executive paper (7.25 in. by 10.5 in.).
Executive = 7,
//
// 摘要:
// A3 paper (297 mm by 420 mm).
A3 = 8,
//
// 摘要:
// A4 paper (210 mm by 297 mm).
A4 = 9,
//
// 摘要:
// A4 small paper (210 mm by 297 mm).
A4Small = 10,
//
// 摘要:
// A5 paper (148 mm by 210 mm).
A5 = 11,
//
// 摘要:
// B4 paper (250 mm by 353 mm).
B4 = 12,
//
// 摘要:
// B5 paper (176 mm by 250 mm).
B5 = 13,
//
// 摘要:
// Folio paper (8.5 in. by 13 in.).
Folio = 14,
//
// 摘要:
// Quarto paper (215 mm by 275 mm).
Quarto = 15,
//
// 摘要:
// 10-by-14-inch paper.
Standard10x14 = 16,
//
// 摘要:
// 11-by-17-inch paper.
Standard11x17 = 17,
//
// 摘要:
// Note paper (8.5 in. by 11 in.).
Note = 18,
//
// 摘要:
// #9 envelope (3.875 in. by 8.875 in.).
Number9Envelope = 19,
//
// 摘要:
// #10 envelope (4.125 in. by 9.5 in.).
Number10Envelope = 20,
//
// 摘要:
// #11 envelope (4.5 in. by 10.375 in.).
Number11Envelope = 21,
//
// 摘要:
// #12 envelope (4.75 in. by 11 in.).
Number12Envelope = 22,
//
// 摘要:
// #14 envelope (5 in. by 11.5 in.).
Number14Envelope = 23,
//
// 摘要:
// C paper (17 in. by 22 in.).
CSheet = 24,
//
// 摘要:
// D paper (22 in. by 34 in.).
DSheet = 25,
//
// 摘要:
// E paper (34 in. by 44 in.).
ESheet = 26,
//
// 摘要:
// DL envelope (110 mm by 220 mm).
DLEnvelope = 27,
//
// 摘要:
// C5 envelope (162 mm by 229 mm).
C5Envelope = 28,
//
// 摘要:
// C3 envelope (324 mm by 458 mm).
C3Envelope = 29,
//
// 摘要:
// C4 envelope (229 mm by 324 mm).
C4Envelope = 30,
//
// 摘要:
// C6 envelope (114 mm by 162 mm).
C6Envelope = 31,
//
// 摘要:
// C65 envelope (114 mm by 229 mm).
C65Envelope = 32,
//
// 摘要:
// B4 envelope (250 mm by 353 mm).
B4Envelope = 33,
//
// 摘要:
// B5 envelope (176 mm by 250 mm).
B5Envelope = 34,
//
// 摘要:
// B6 envelope (176 mm by 125 mm).
B6Envelope = 35,
//
// 摘要:
// Italy envelope (110 mm by 230 mm).
ItalyEnvelope = 36,
//
// 摘要:
// Monarch envelope (3.875 in. by 7.5 in.).
MonarchEnvelope = 37,
//
// 摘要:
// 6 3/4 envelope (3.625 in. by 6.5 in.).
PersonalEnvelope = 38,
//
// 摘要:
// US standard fanfold (14.875 in. by 11 in.).
USStandardFanfold = 39,
//
// 摘要:
// German standard fanfold (8.5 in. by 12 in.).
GermanStandardFanfold = 40,
//
// 摘要:
// German legal fanfold (8.5 in. by 13 in.).
GermanLegalFanfold = 41,
//
// 摘要:
// ISO B4 (250 mm by 353 mm).
IsoB4 = 42,
//
// 摘要:
// Japanese postcard (100 mm by 148 mm).
JapanesePostcard = 43,
//
// 摘要:
// 9-by-11-inch paper.
Standard9x11 = 44,
//
// 摘要:
// 10-by-11-inch paper.
Standard10x11 = 45,
//
// 摘要:
// 15-by-11-inch paper.
Standard15x11 = 46,
//
// 摘要:
// Invite envelope (220 mm by 220 mm).
InviteEnvelope = 47,
//
// 摘要:
// Letter extra paper (9.275 in. by 12 in.). This value is specific to the PostScript
// driver and is used only by Linotronic printers in order to conserve paper.
LetterExtra = 50,
//
// 摘要:
// Legal extra paper (9.275 in. by 15 in.). This value is specific to the PostScript
// driver and is used only by Linotronic printers in order to conserve paper.
LegalExtra = 51,
//
// 摘要:
// Tabloid extra paper (11.69 in. by 18 in.). This value is specific to the PostScript
// driver and is used only by Linotronic printers in order to conserve paper.
TabloidExtra = 52,
//
// 摘要:
// A4 extra paper (236 mm by 322 mm). This value is specific to the PostScript driver
// and is used only by Linotronic printers in order to conserve paper.
A4Extra = 53,
//
// 摘要:
// Letter transverse paper (8.275 in. by 11 in.).
LetterTransverse = 54,
//
// 摘要:
// A4 transverse paper (210 mm by 297 mm).
A4Transverse = 55,
//
// 摘要:
// Letter extra transverse paper (9.275 in. by 12 in.).
LetterExtraTransverse = 56,
//
// 摘要:
// SuperA/SuperA/A4 paper (227 mm by 356 mm).
APlus = 57,
//
// 摘要:
// SuperB/SuperB/A3 paper (305 mm by 487 mm).
BPlus = 58,
//
// 摘要:
// Letter plus paper (8.5 in. by 12.69 in.).
LetterPlus = 59,
//
// 摘要:
// A4 plus paper (210 mm by 330 mm).
A4Plus = 60,
//
// 摘要:
// A5 transverse paper (148 mm by 210 mm).
A5Transverse = 61,
//
// 摘要:
// JIS B5 transverse paper (182 mm by 257 mm).
B5Transverse = 62,
//
// 摘要:
// A3 extra paper (322 mm by 445 mm).
A3Extra = 63,
//
// 摘要:
// A5 extra paper (174 mm by 235 mm).
A5Extra = 64,
//
// 摘要:
// ISO B5 extra paper (201 mm by 276 mm).
B5Extra = 65,
//
// 摘要:
// A2 paper (420 mm by 594 mm).
A2 = 66,
//
// 摘要:
// A3 transverse paper (297 mm by 420 mm).
A3Transverse = 67,
//
// 摘要:
// A3 extra transverse paper (322 mm by 445 mm).
A3ExtraTransverse = 68,
//
// 摘要:
// Japanese double postcard (200 mm by 148mm).
JapaneseDoublePostcard = 69,
//
// 摘要:
// A6 paper (105 mm by 148 mm).
A6 = 70,
//
// 摘要:
// Japanese Kaku #2 envelope.
JapaneseEnvelopeKakuNumber2 = 71,
//
// 摘要:
// Japanese Kaku #3 envelope.
JapaneseEnvelopeKakuNumber3 = 72,
//
// 摘要:
// Japanese Chou #3 envelope.
JapaneseEnvelopeChouNumber3 = 73,
//
// 摘要:
// Japanese Chou #4 envelope.
JapaneseEnvelopeChouNumber4 = 74,
//
// 摘要:
// Letter rotated paper (11 in. by 8.5 in.).
LetterRotated = 75,
//
// 摘要:
// A3 rotated paper (420mm by 297 mm).
A3Rotated = 76,
//
// 摘要:
// A4 rotated paper (297 mm by 210 mm).
A4Rotated = 77,
//
// 摘要:
// A5 rotated paper (210 mm by 148 mm).
A5Rotated = 78,
//
// 摘要:
// JIS B4 rotated paper (364 mm by 257 mm).
B4JisRotated = 79,
//
// 摘要:
// JIS B5 rotated paper (257 mm by 182 mm).
B5JisRotated = 80,
//
// 摘要:
// Japanese rotated postcard (148 mm by 100 mm).
JapanesePostcardRotated = 81,
//
// 摘要:
// Japanese rotated double postcard (148 mm by 200 mm).
JapaneseDoublePostcardRotated = 82,
//
// 摘要:
// A6 rotated paper (148 mm by 105 mm).
A6Rotated = 83,
//
// 摘要:
// Japanese rotated Kaku #2 envelope.
JapaneseEnvelopeKakuNumber2Rotated = 84,
//
// 摘要:
// Japanese rotated Kaku #3 envelope.
JapaneseEnvelopeKakuNumber3Rotated = 85,
//
// 摘要:
// Japanese rotated Chou #3 envelope.
JapaneseEnvelopeChouNumber3Rotated = 86,
//
// 摘要:
// Japanese rotated Chou #4 envelope.
JapaneseEnvelopeChouNumber4Rotated = 87,
//
// 摘要:
// JIS B6 paper (128 mm by 182 mm).
B6Jis = 88,
//
// 摘要:
// JIS B6 rotated paper (182 mm by 128 mm).
B6JisRotated = 89,
//
// 摘要:
// 12-by-11-inch paper.
Standard12x11 = 90,
//
// 摘要:
// Japanese You #4 envelope.
JapaneseEnvelopeYouNumber4 = 91,
//
// 摘要:
// Japanese You #4 rotated envelope.
JapaneseEnvelopeYouNumber4Rotated = 92,
//
// 摘要:
// PRC 16K paper (146 mm by 215 mm).
Prc16K = 93,
//
// 摘要:
// PRC 32K paper (97 mm by 151 mm).
Prc32K = 94,
//
// 摘要:
// PRC 32K big paper (97 mm by 151 mm).
Prc32KBig = 95,
//
// 摘要:
// PRC #1 envelope (102 mm by 165 mm).
PrcEnvelopeNumber1 = 96,
//
// 摘要:
// PRC #2 envelope (102 mm by 176 mm).
PrcEnvelopeNumber2 = 97,
//
// 摘要:
// PRC #3 envelope (125 mm by 176 mm).
PrcEnvelopeNumber3 = 98,
//
// 摘要:
// PRC #4 envelope (110 mm by 208 mm).
PrcEnvelopeNumber4 = 99,
//
// 摘要:
// PRC #5 envelope (110 mm by 220 mm).
PrcEnvelopeNumber5 = 100,
//
// 摘要:
// PRC #6 envelope (120 mm by 230 mm).
PrcEnvelopeNumber6 = 101,
//
// 摘要:
// PRC #7 envelope (160 mm by 230 mm).
PrcEnvelopeNumber7 = 102,
//
// 摘要:
// PRC #8 envelope (120 mm by 309 mm).
PrcEnvelopeNumber8 = 103,
//
// 摘要:
// PRC #9 envelope (229 mm by 324 mm).
PrcEnvelopeNumber9 = 104,
//
// 摘要:
// PRC #10 envelope (324 mm by 458 mm).
PrcEnvelopeNumber10 = 105,
//
// 摘要:
// PRC 16K rotated paper (146 mm by 215 mm).
Prc16KRotated = 106,
//
// 摘要:
// PRC 32K rotated paper (97 mm by 151 mm).
Prc32KRotated = 107,
//
// 摘要:
// PRC 32K big rotated paper (97 mm by 151 mm).
Prc32KBigRotated = 108,
//
// 摘要:
// PRC #1 rotated envelope (165 mm by 102 mm).
PrcEnvelopeNumber1Rotated = 109,
//
// 摘要:
// PRC #2 rotated envelope (176 mm by 102 mm).
PrcEnvelopeNumber2Rotated = 110,
//
// 摘要:
// PRC #3 rotated envelope (176 mm by 125 mm).
PrcEnvelopeNumber3Rotated = 111,
//
// 摘要:
// PRC #4 rotated envelope (208 mm by 110 mm).
PrcEnvelopeNumber4Rotated = 112,
//
// 摘要:
// PRC #5 rotated envelope (220 mm by 110 mm).
PrcEnvelopeNumber5Rotated = 113,
//
// 摘要:
// PRC #6 rotated envelope (230 mm by 120 mm).
PrcEnvelopeNumber6Rotated = 114,
//
// 摘要:
// PRC #7 rotated envelope (230 mm by 160 mm).
PrcEnvelopeNumber7Rotated = 115,
//
// 摘要:
// PRC #8 rotated envelope (309 mm by 120 mm).
PrcEnvelopeNumber8Rotated = 116,
//
// 摘要:
// PRC #9 rotated envelope (324 mm by 229 mm).
PrcEnvelopeNumber9Rotated = 117,
//
// 摘要:
// PRC #10 rotated envelope (458 mm by 324 mm).
PrcEnvelopeNumber10Rotated = 118
}
}
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网