Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Appearance Class / VerticalAlign Property
Example


In This Topic
    VerticalAlign Property (Appearance)
    In This Topic
    Gets or sets the vertical alignment of an object or text.
    Syntax
    'Declaration
     
    Public Property VerticalAlign As VerticalAlign
    'Usage
     
    Dim instance As Appearance
    Dim value As VerticalAlign
     
    instance.VerticalAlign = value
     
    value = instance.VerticalAlign
    public VerticalAlign VerticalAlign {get; set;}

    Property Value

    VerticalAlign object containing the alignment of text
    Remarks

    Valid values for this property are the vertical alignment settings listed in the VerticalAlign enumeration in the Microsoft .NET Framework Reference.

    Use the HorizontalAlign property to specify the horizontal alignment of the object or text.

    Example
    This example creates a new Appearance object, sets the several properties such as color and alignment, then applies those settings to an instance of a Cell object.
    See Also