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
Método público ReportSize(Double) Creates a new instance of the ReportSize class.
Método público ReportSize(String) Creates a new instance of the ReportSize class.
Método público ReportSize(Double, SizeTypes) Creates a new instance of the ReportSize class.
Método público ReportSize(String, IFormatProvider) Creates a new instance of the ReportSize class.
Método público ReportSize(String, IFormatProvider, SizeTypes) Creates a new instance of the ReportSize class.

Início

Propriedades

  Nome Descrição
Propriedade públicaMembro estático DefaultType The default unit of the size.
Propriedade públicaMembro estático DotsPerInch DPI.
Propriedade públicaMembro estático Empty The report size to use for an empty report size.
Propriedade pública IsEmpty Indicates whether the report size has not been set.
Propriedade públicaMembro estático SerializedDecimalDigits The number of decimal places to use for serializing the report size.
Propriedade pública SerializedValue The serialized report size value.
Propriedade pública Type The unit of the size.
Propriedade pública Value The value of the size.

Início

Métodos

  Nome Descrição
Método público Equals Returns whether two ReportSize objects have the same size. (Substitui ValueType. . :: . .Equals(Object).)
Método protegido Finalize (Herdado de Object.)
Método públicoMembro estático FromPixels Return a ReportSize by specifying pixels.
Método público GetHashCode Gets the unique hash code for a ReportSize. (Substitui ValueType. . :: . .GetHashCode() () () ().)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método públicoMembro estático Parse Returns a ReportSize by parsing a string.
Método público SetPixels Sets the number of pixels for the size.
Método público ToCentimeters Returns the size in centimeters.
Método público ToInches Returns the size in inches.
Método público ToIntPixels Returns the size in pixels.
Método público ToMillimeters Returns the size in millimeters.
Método público ToPixels Returns the size in pixels.
Método público ToPoints Returns the size in points.
Método público ToString() () () () Returns a string representation of the size. (Substitui ValueType. . :: . .ToString() () () ().)
Método público ToString(String, IFormatProvider) Returns a string representation of the size.

Início

Operadores

  Nome Descrição
Operador públicoMembro estático Addition Add two sizes.
Operador públicoMembro estático Equality Test the equality of two sizes.
Operador públicoMembro estático GreaterThan Tests if the first size is greater than the second size.
Operador públicoMembro estático Inequality Tests the inequality of two sizes.
Operador públicoMembro estático LessThan Test whether the first size is less than the second size.
Operador públicoMembro estático Subtraction Subtract the second size from the first size.

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.