Delen via


ReportSize Class

Represents a unit of length on the report. The class contains methods to convert the length into several formats. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.ReportRendering.ReportSize

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public NotInheritable Class ReportSize
'Usage
Dim instance As ReportSize
public sealed class ReportSize
public ref class ReportSize sealed
[<SealedAttribute>]
type ReportSize =  class end
public final class ReportSize

The ReportSize type exposes the following members.

Constructors

  Name Description
Public method ReportSize Initializes a new instance of the ReportSize object with the given size string.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToCentimeters Converts the report size length to centimeters.
Public method ToInches Converts the report size length to inches.
Public method ToMillimeters Converts the length to millimeters.
Public method ToPoints Converts the report size length to points.
Public method ToString Converts the size to a string value, as expressed in the report definition. (Overrides Object.ToString().)

Top

Remarks

If a report item is within a container that grows, IsFullSize evaluates to true and the item should be stretched to fill the container.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.