ReportSize 结构
Represents a unit of length on the report.
命名空间: Microsoft.ReportingServices.RdlObjectModel
程序集: Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)
语法
声明
<TypeConverterAttribute(GetType(ReportSizeConverter))> _
Public Structure ReportSize _
Implements IComparable, IXmlSerializable, IFormattable
用法
Dim instance As ReportSize
[TypeConverterAttribute(typeof(ReportSizeConverter))]
public struct ReportSize : IComparable,
IXmlSerializable, IFormattable
[TypeConverterAttribute(typeof(ReportSizeConverter))]
public value class ReportSize : IComparable,
IXmlSerializable, IFormattable
[<SealedAttribute>]
[<TypeConverterAttribute(typeof(ReportSizeConverter))>]
type ReportSize =
struct
interface IComparable
interface IXmlSerializable
interface IFormattable
end
JScript 支持使用结构,但不支持声明新结构。
ReportSize 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
![]() |
ReportSize(Double) | Creates a new instance of the ReportSize class. |
![]() |
ReportSize(String) | Creates a new instance of the ReportSize class. |
![]() |
ReportSize(Double, SizeTypes) | Creates a new instance of the ReportSize class. |
![]() |
ReportSize(String, IFormatProvider) | Creates a new instance of the ReportSize class. |
![]() |
ReportSize(String, IFormatProvider, SizeTypes) | Creates a new instance of the ReportSize class. |
页首
属性
| 名称 | 说明 | |
|---|---|---|
![]() ![]() |
DefaultType | The default unit of the size. |
![]() ![]() |
DotsPerInch | DPI. |
![]() ![]() |
Empty | The report size to use for an empty report size. |
![]() |
IsEmpty | Indicates whether the report size has not been set. |
![]() ![]() |
SerializedDecimalDigits | The number of decimal places to use for serializing the report size. |
![]() |
SerializedValue | The serialized report size value. |
![]() |
Type | The unit of the size. |
![]() |
Value | The value of the size. |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Equals | Returns whether two ReportSize objects have the same size. (覆盖 ValueType.Equals(Object)。) |
![]() |
Finalize | (从 Object 继承。) |
![]() ![]() |
FromPixels | Return a ReportSize by specifying pixels. |
![]() |
GetHashCode | Gets the unique hash code for a ReportSize. (覆盖 ValueType.GetHashCode()。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() ![]() |
Parse | Returns a ReportSize by parsing a string. |
![]() |
SetPixels | Sets the number of pixels for the size. |
![]() |
ToCentimeters | Returns the size in centimeters. |
![]() |
ToInches | Returns the size in inches. |
![]() |
ToIntPixels | Returns the size in pixels. |
![]() |
ToMillimeters | Returns the size in millimeters. |
![]() |
ToPixels | Returns the size in pixels. |
![]() |
ToPoints | Returns the size in points. |
![]() |
ToString() | Returns a string representation of the size. (覆盖 ValueType.ToString()。) |
![]() |
ToString(String, IFormatProvider) | Returns a string representation of the size. |
页首
运算符
| 名称 | 说明 | |
|---|---|---|
![]() ![]() |
Addition | Add two sizes. |
![]() ![]() |
Equality | Test the equality of two sizes. |
![]() ![]() |
GreaterThan | Tests if the first size is greater than the second size. |
![]() ![]() |
Inequality | Tests the inequality of two sizes. |
![]() ![]() |
LessThan | Test whether the first size is less than the second size. |
![]() ![]() |
Subtraction | Subtract the second size from the first size. |
页首
显式接口实现
| 名称 | 说明 | |
|---|---|---|
![]() ![]() |
IComparable.CompareTo | |
![]() ![]() |
IXmlSerializable.GetSchema | |
![]() ![]() |
IXmlSerializable.ReadXml | |
![]() ![]() |
IXmlSerializable.WriteXml |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)