最新文章 (全部类别)
.NETCore WebApi阻止接口重复调用(请求并发操作)
VS2022消除编译警告
“SymmetricAlgorithm.Create(string)”已过时:“Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead
SHA256Managed/SHA512Managed已过时:Derived cryptographic types are obsolete. Use the Create method on the base type instead
MD5CryptoServiceProvider已过时:Derived cryptographic types are obsolete. Use the Create method on the base type instead
C#使用HttpClient获取IP地址位置和网络信息
判断IP是否是外网IP、内网IP
C#使用HttpClient获取公网IP
WebRequest.Create(string)已过时:WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead
C#根据第三方提供的IP查询服务获取公网外网IP地址
html/dom/js/javascript开发记录
调试ASP.NETCore Web站点 - 清理IISExpress缓存数据(js,css)
EFCore+Oracle根据不同的Schema连接数据库
主程序集成CSFramework.EF 数据库框架(.NET7版本)
CSFramework.EF数据库框架简介(.NET8+EFCore)
迁移ECS服务器:导致ORACLE监听服务启动不了解决方案
SQLite数据库
VS2022编译报错:Visual Studio 容器工具需要 Docker Desktop
.NET 9 预览版+C#13新功能
EFCore禁用实体跟踪
WebApi开发框架V3.0 (.NETCore+EFCore) 增加AppSettings全局参数类
C#获取应用程序所有依赖的程序集
LINQ Expression 多条件复合条件组合(And/Or)
CSFrameworkV6客户案例 - MHR - 宁德时代制造人力资源系统
CS软件授权注册系统V3 - 发布证书
C/S软件授权注册系统V3.0(Winform+WebApi+.NET8+EFCore版本)
CS软件授权注册系统V3 - 购买方式
CS软件授权注册系统V3 - 试用版下载
CS软件授权注册系统-客户登记(制作证书)
C/S软件授权注册系统V3.0 - 管理员工具
CSFrameworkV6旗舰版开发框架 - 集成软件授权认证系统
CSFramework.Authentication 软件证书管理系统 - 制作软件客户授权证书
CSFramework.Authentication 软件证书管理系统 - MAC地址管理
CSFramework.Authentication 软件授权证书管理系统
Login/Logout接口调用dalUser的Login/Logout方法
C# Newtonsoft.Json.Linq.JObject 转对象
CSFramework.Authentication 软件授权认证系统 - 软件测试报告
C/S架构软件开发平台 - 旗舰版V6.0 - 底层框架迭代开发
C/S架构软件开发平台 - 旗舰版V6.1新功能 - 增加软件授权认证模块
C/S架构软件开发平台 - 旗舰版CSFrameworkV6 Bug修改记录
CS软件授权注册系统V3 - 开发手册 - 软件集成与用户注册
CS软件授权注册系统-模拟MES/ERP用户注册软件
CS软件授权注册系统-发布/部署WebApi服务器(IIS+.NET8+ASP.NETCore)
CS软件授权注册系统-VS2022调试WebApi接口
.NETCore Console控制台程序使用ILogger日志
CS软件授权注册系统-WebApi服务器介绍
ASP.NETCore集成Swagger添加Authorize按钮Bearer授权
CS软件授权注册系统-WebApi服务器配置
.NETCore WebApi发布到IIS服务器无法打开swagger
.NET8/ .NETCore /ASP.NETCore 部署WebApi到IIS服务器需要安装的运行环境
.net敏捷开发,创造卓越

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
    }
}

 

版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
C/S框架网
上一篇:踩坑日记 - DevExpress GridView.GetSelectedRows方法返回无效的RowHandle行号
下一篇:DevExpress常用组件操作扩展类:DevExpressExtensions.cs
评论列表

发表评论

评论内容
昵称:
关联文章

System.Drawing.Printing.PaperSize PaperKind/RawKind详解
DevExpress换肤详解
FastReport for.Net开发指南-单表报表设计详解
C# WebService代理类详解
C#.NET GC.Collect垃圾回收机制详解
C#.Net 静态构造器使用详解
FastReport for.Net开发指南-主从表(Master/Detail)报表设计详解
C# WebService异步处理/异步调用详解
WCF开发框架之ICommunicationObject 对象详解
.NET 6 优先队列 PriorityQueue 详解
C#调用C++编译的DLL详解
.NET RichTextBox控件使用详解
System.InvalidCastException:“Unable to cast object of type 'System.Double' to type 'System.Single'.”
HTTP状态码大全-System.Net.HttpStatusCode
TreeListNode.HasAsParent详解
DevExpress SummaryItem.SummaryType详解
.NETCore WebApi开发框架 appsettings.json 配置详解
WebApi 未能加载文件或程序集“System.Web.Http.WebHost,System.Web.Cors"
CG_LookupDataBoundAttribute类详解
C#构造函数,静态构造函数,私有构造函数详解

热门标签
软件著作权登记证书 .NET .NET Reactor .NET5 .NET6 .NET7 .NET8 .NET9 .NETFramework APP AspNetCore AuthV3 Auth-软件授权注册系统 Axios B/S B/S开发框架 B/S框架 BSFramework Bug Bug记录 C#加密解密 C#源码 C/S CHATGPT CMS系统 CodeGenerator CSFramework.DB CSFramework.EF CSFramework.License CSFrameworkV1学习版 CSFrameworkV2标准版 CSFrameworkV3高级版 CSFrameworkV4企业版 CSFrameworkV5旗舰版 CSFrameworkV6.0 CSFrameworkV6.1 CSFrameworkV6旗舰版 DAL数据访问层 Database datalock DbFramework Demo教学 Demo实例 Demo下载 DevExpress教程 Docker Desktop DOM ECS服务器 EFCore EF框架 Element-UI EntityFramework ERP ES6 Excel FastReport GIT HR IDatabase IIS JavaScript LINQ MES MiniFramework MIS MySql NavBarControl NETCore Node.JS NPM OMS Oracle资料 ORM PaaS POS Promise API PSD RedGet Redis RSA SAP Schema SEO SEO文章 SQL SQLConnector SQLite SqlServer Swagger TMS系统 Token令牌 VS2022 VSCode VS升级 VUE WCF WebApi WebApi NETCore WebApi框架 WEB开发框架 Windows服务 Winform 开发框架 Winform 开发平台 WinFramework Workflow工作流 Workflow流程引擎 XtraReport 安装环境 版本区别 报表 备份还原 踩坑日记 操作手册 达梦数据库 代码生成器 迭代开发记录 功能介绍 国际化 基础资料窗体 架构设计 角色权限 开发sce 开发工具 开发技巧 开发教程 开发框架 开发平台 开发指南 客户案例 快速搭站系统 快速开发平台 框架升级 毛衫行业ERP 秘钥 密钥 权限设计 软件报价 软件测试报告 软件加壳 软件简介 软件开发框架 软件开发平台 软件开发文档 软件授权 软件授权注册系统 软件体系架构 软件下载 软件著作权登记证书 软著证书 三层架构 设计模式 生成代码 实用小技巧 视频下载 收钱音箱 数据锁 数据同步 微信小程序 未解决问题 文档下载 喜鹊ERP 喜鹊软件 系统对接 详细设计说明书 新功能 信创 行政区域数据库 需求分析 疑难杂症 蝇量级框架 蝇量框架 用户管理 用户开发手册 用户控件 在线支付 纸箱ERP 智能语音收款机 自定义窗体 自定义组件 自动升级程序
联系我们
联系电话:13923396219(微信同号)
电子邮箱:23404761@qq.com
站长微信二维码
微信二维码