ReportSize 类

定义

表示报表上长度的单位。 该类包含要将长度转换为几种格式的方法。 此类不能被继承。

public ref class ReportSize sealed
public sealed class ReportSize
type ReportSize = class
Public NotInheritable Class ReportSize
继承
ReportSize

注解

如果报表项位于增长的容器中, IsFullSize 则计算结果 true 应拉伸到该项,以填充容器。

构造函数

ReportSize(String)

使用给定的 size 字符串初始化 ReportSize 对象的新实例。

方法

ToCentimeters()

将报表大小长度转换为厘米。

ToInches()

将报表大小长度转换为英寸。

ToMillimeters()

将长度转换为毫米。

ToPoints()

将报表大小长度转换为磅。

ToString()

将大小转换为字符串值,如报表定义中所表示。

适用于