Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Appearance Class / HorizontalAlign Property
Example


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

    Property Value

    HorizontalAlign object containing the alignment of text
    Remarks

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

    Use the VerticalAlign property to specify the vertical 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