Structure ReportSize
Represents a unit of length on the report.
Espace de noms : Microsoft.ReportingServices.RdlObjectModel
Assembly : Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)
Syntaxe
'Déclaration
<TypeConverterAttribute(GetType(ReportSizeConverter))> _
Public Structure ReportSize _
Implements IComparable, IXmlSerializable, IFormattable
'Utilisation
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 prend en charge l'utilisation de structures, mais pas la déclaration de nouvelles structures.
Le type ReportSize expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
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. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
![]() ![]() |
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. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
![]() |
Equals | Returns whether two ReportSize objects have the same size. (remplace ValueType. . :: . .Equals(Object).) |
![]() |
Finalize | (hérité de Object.) |
![]() ![]() |
FromPixels | Return a ReportSize by specifying pixels. |
![]() |
GetHashCode | Gets the unique hash code for a ReportSize. (remplace ValueType. . :: . .GetHashCode() () () ().) |
![]() |
GetType | (hérité de Object.) |
![]() |
MemberwiseClone | (hérité de 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. (remplace ValueType. . :: . .ToString() () () ().) |
![]() |
ToString(String, IFormatProvider) | Returns a string representation of the size. |
Haut de la page
Opérateurs
Nom | Description | |
---|---|---|
![]() ![]() |
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. |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
![]() ![]() |
IComparable. . :: . .CompareTo | |
![]() ![]() |
IXmlSerializable. . :: . .GetSchema | |
![]() ![]() |
IXmlSerializable. . :: . .ReadXml | |
![]() ![]() |
IXmlSerializable. . :: . .WriteXml |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.