Partager via


Membres ReportSize

Represents a unit of length on the report.

Le type ReportSize expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ReportSize(Double) Creates a new instance of the ReportSize class.
Méthode publique ReportSize(String) Creates a new instance of the ReportSize class.
Méthode publique ReportSize(Double, SizeTypes) Creates a new instance of the ReportSize class.
Méthode publique ReportSize(String, IFormatProvider) Creates a new instance of the ReportSize class.
Méthode publique ReportSize(String, IFormatProvider, SizeTypes) Creates a new instance of the ReportSize class.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals Returns whether two ReportSize objects have the same size. (Se substitue à ValueType. . :: . .Equals(Object).)
Méthode protégée Finalize (Hérité de Object.)
Méthode publiqueMembre statique FromPixels Return a ReportSize by specifying pixels.
Méthode publique GetHashCode Gets the unique hash code for a ReportSize. (Se substitue à ValueType. . :: . .GetHashCode() () () ().)
Méthode publique GetType (Hérité de Object.)
Méthode protégée MemberwiseClone (Hérité de Object.)
Méthode publiqueMembre statique Parse Returns a ReportSize by parsing a string.
Méthode publique SetPixels Sets the number of pixels for the size.
Méthode publique ToCentimeters Returns the size in centimeters.
Méthode publique ToInches Returns the size in inches.
Méthode publique ToIntPixels Returns the size in pixels.
Méthode publique ToMillimeters Returns the size in millimeters.
Méthode publique ToPixels Returns the size in pixels.
Méthode publique ToPoints Returns the size in points.
Méthode publique ToString() () () () Returns a string representation of the size. (Se substitue à ValueType. . :: . .ToString() () () ().)
Méthode publique ToString(String, IFormatProvider) Returns a string representation of the size.

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Addition Add two sizes.
Opérateur publicMembre statique Equality Test the equality of two sizes.
Opérateur publicMembre statique GreaterThan Tests if the first size is greater than the second size.
Opérateur publicMembre statique Inequality Tests the inequality of two sizes.
Opérateur publicMembre statique LessThan Test whether the first size is less than the second size.
Opérateur publicMembre statique Subtraction Subtract the second size from the first size.

Haut de la page

Propriétés

  Nom Description
Propriété publiqueMembre statique DefaultType The default unit of the size.
Propriété publiqueMembre statique DotsPerInch DPI.
Propriété publiqueMembre statique Empty The report size to use for an empty report size.
Propriété publique IsEmpty Indicates whether the report size has not been set.
Propriété publiqueMembre statique SerializedDecimalDigits The number of decimal places to use for serializing the report size.
Propriété publique SerializedValue The serialized report size value.
Propriété publique Type The unit of the size.
Propriété publique Value The value of the size.

Haut de la page