Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 | Gets or sets the default unit of the size. |
![]() ![]() |
DotsPerInch | Gets the DPI. |
![]() ![]() |
Empty | Gets the report size to use for an empty report size. |
![]() |
IsEmpty | Gets a value that indicates whether the report size has not been set. |
![]() ![]() |
SerializedDecimalDigits | Gets or sets the number of decimal places to use for serializing the report size. |
![]() |
SerializedValue | Gets the serialized report size value. |
![]() |
Type | Gets the unit of the size. |
![]() |
Value | Gets 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).) |
![]() ![]() |
FromPixels | Returns a ReportSize by specifying pixels. |
![]() |
GetHashCode | Gets the unique hash code for a ReportSize. (remplace ValueType.GetHashCode().) |
![]() |
GetType | (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 | Compares the object to the specified size. |
![]() ![]() |
IXmlSerializable.GetSchema | Returns the xml schema. |
![]() ![]() |
IXmlSerializable.ReadXml | Reads the xml documentation. |
![]() ![]() |
IXmlSerializable.WriteXml | Writes xml documentation. |
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.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)