Share via


ReportItem.Top Property

Gets the vertical position of the top edge of the report item, in units such as cm, mm, in, pt, or pc.

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

Syntax

'Declaration
Public Property Top As ReportSize
    Get
    Set
'Usage
Dim instance As ReportItem
Dim value As ReportSize

value = instance.Top

instance.Top = value
public ReportSize Top { get; set; }
public:
property ReportSize^ Top {
    ReportSize^ get ();
    void set (ReportSize^ value);
}
member Top : ReportSize with get, set
function get Top () : ReportSize
function set Top (value : ReportSize)

Property Value

Type: Microsoft.ReportingServices.ReportRendering.ReportSize
A ReportSize object containing the vertical position of the top edge of the item on the report, relative to its parent.

Remarks

The positioning of the item is relative to the parent object.

For more information about unit designators, see CSS Length Units Reference.