Class PageSize
信息
表示 PDF 文档中页面大小的类。
public class PageSize
继承
派生
继承的成员
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
构造函数
PageSize()
Documentize.PageSize 的构造函数。默认情况下为 A4 尺寸。
public PageSize()
PageSize(double, double)
Documentize.PageSize 的构造函数。
public PageSize(double width, double height)
参数
属性
A0
A0 尺寸 (1189x840 mm)。
public static PageSize A0 { get; }
属性值
A1
A1 尺寸 (840x594 mm)。
public static PageSize A1 { get; }
属性值
A2
A2 尺寸 (594x420 mm)。
public static PageSize A2 { get; }
属性值
A3
A3 尺寸 (420x297 mm)。
public static PageSize A3 { get; }
属性值
A4
A4 尺寸 (297x210 mm)。
public static PageSize A4 { get; }
属性值
A5
A5 尺寸 (210x148 mm)。
public static PageSize A5 { get; }
属性值
A6
A6 尺寸 (148x105 mm)。
public static PageSize A6 { get; }
属性值
B5
B5 尺寸 (250x176 mm)。
public static PageSize B5 { get; }
属性值
Height
获取或设置页面高度。
public double Height { get; set; }
属性值
IsLandscape
获取页面方向。如果是横向方向返回 true,如果是纵向方向返回 false。
public bool IsLandscape { get; }
属性值
P11x17
11x17 英寸格式。
public static PageSize P11x17 { get; }
属性值
PageLedger
账本尺寸 (432x279 mm)。
public static PageSize PageLedger { get; }
属性值
PageLegal
法律尺寸 (356x216 mm)。
public static PageSize PageLegal { get; }
属性值
PageLetter
信纸尺寸 (279x216 mm)。
public static PageSize PageLetter { get; }
属性值
Width
获取或设置页面宽度。
public double Width { get; set; }
属性值
命名空间: Documentize 程序集: Documentize.dll