Struttura ReportSize
Represents a unit of length on the report.
Spazio dei nomi Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Sintassi
'Dichiarazione
<TypeConverterAttribute(GetType(ReportSizeConverter))> _
Public Structure ReportSize _
Implements IComparable, IXmlSerializable, IFormattable
'Utilizzo
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 supporta l'utilizzo di strutture, ma non la dichiarazione di nuove strutture.
Nel tipo ReportSize sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
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. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
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. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Equals | Returns whether two ReportSize objects have the same size. Esegue l'override di ValueType.Equals(Object). | |
FromPixels | Returns a ReportSize by specifying pixels. | |
GetHashCode | Gets the unique hash code for a ReportSize. Esegue l'override di ValueType.GetHashCode(). | |
GetType | Ereditato da 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. Esegue l'override di ValueType.ToString(). | |
ToString(String, IFormatProvider) | Returns a string representation of the size. |
In alto
Operatori
Nome | Descrizione | |
---|---|---|
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. |
In alto
Implementazioni esplicite dell'interfaccia
Nome | Descrizione | |
---|---|---|
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. |
In alto
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.