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


In This Topic
    HorizontalAlign Property (NamedStyle)
    In This Topic
    Gets or sets the horizontal alignment for the style.
    Syntax
    'Declaration
     
    
    Public Overrides Property HorizontalAlign As HorizontalAlign
    'Usage
     
    
    Dim instance As NamedStyle
    Dim value As HorizontalAlign
     
    instance.HorizontalAlign = value
     
    value = instance.HorizontalAlign
    public override HorizontalAlign HorizontalAlign {get; set;}

    Property Value

    HorizontalAlign object containing the alignment of text for the cells of this style
    Remarks

    Use the VerticalAlign property to specify the vertical alignment of the object or text.

    Example
    This example creates a new custom style and sets several of the style properties.
    See Also