Estrutura ReportSize
Represents a unit of length on the report.
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (em Microsoft.ReportingServices.Designer.Controls.dll)
Sintaxe
'Declaração
<TypeConverterAttribute(GetType(ReportSizeConverter))> _
Public Structure ReportSize _
Implements IComparable, IXmlSerializable, IFormattable
'Uso
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 dá suporte ao uso de estruturas, mas não à declaração de estruturas novas.
O tipo ReportSize expõe os membros a seguir.
Construtores
| Nome | Descrição | |
|---|---|---|
![]() |
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ício
Propriedades
| Nome | Descrição | |
|---|---|---|
![]() ![]() |
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. |
Início
Métodos
| Nome | Descrição | |
|---|---|---|
![]() |
Equals | Returns whether two ReportSize objects have the same size. (Substitui ValueType. . :: . .Equals(Object).) |
![]() |
Finalize | (Herdado de Object.) |
![]() ![]() |
FromPixels | Return a ReportSize by specifying pixels. |
![]() |
GetHashCode | Gets the unique hash code for a ReportSize. (Substitui ValueType. . :: . .GetHashCode() () () ().) |
![]() |
GetType | (Herdado de Object.) |
![]() |
MemberwiseClone | (Herdado 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. (Substitui ValueType. . :: . .ToString() () () ().) |
![]() |
ToString(String, IFormatProvider) | Returns a string representation of the size. |
Início
Operadores
| Nome | Descrição | |
|---|---|---|
![]() ![]() |
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ício
Implementações de interfaces explícitas
| Nome | Descrição | |
|---|---|---|
![]() ![]() |
IComparable. . :: . .CompareTo | |
![]() ![]() |
IXmlSerializable. . :: . .GetSchema | |
![]() ![]() |
IXmlSerializable. . :: . .ReadXml | |
![]() ![]() |
IXmlSerializable. . :: . .WriteXml |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)