语言

ReportSize 类

定义

表示报告中的长度单位。

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

构造函数

名称 说明
ReportSize(String, Boolean)

创建 ReportSize的新实例。

ReportSize(String)

创建 ReportSize的新实例。

方法

名称 说明
FromMillimeters(Double)

ReportSize通过指定毫米大小返回物体。

SumSizes(ReportSize, ReportSize)

返回两个报告大小的总和。

ToCentimeters()

返回报告大小(厘米)。

ToInches()

返回报告大小(英寸)。

ToMillimeters()

返回以毫米为单位的报告大小。

ToPoints()

返回报告大小(点数)。

ToString()

返回报告大小为字符串。

TryParse(String, Boolean, ReportSize)

尝试将字符串值解析为 ReportSize。

TryParse(String, ReportSize)

尝试将字符串值解析为 ReportSize。

适用于