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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。