Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / HorizontalAlignment Enumeration


In This Topic
    HorizontalAlignment Enumeration
    In This Topic
    Enum the horizontal alignment of a cell or object.
    Syntax
    'Declaration
     
    
    Public Enum HorizontalAlignment 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As HorizontalAlignment
    public enum HorizontalAlignment : System.Enum 
    Members
    MemberDescription
    CenterSpedifies that the text should be centered.
    CenterAcrossSelectionThe horizontal alignment is centered across multiple cells.The information about how many cells to span is expressed in the Sheet Part, in the row of the cell in question. For each cell that is spanned in the alignment, a cell element needs to be written out, with the same style Id which references the centerContinuous alignment.
    DistributedSpecifies that text should wrap and be aligned to form straight edges on the left and right, including the last line.
    FillSpecifies that the text will be repeated to fill the cell.
    GeneralSpecifies that text is left justified, numbers (including dates and times) are right justified, and logical values are centered.
    JustifySpecifies that text should wrap and be aligned to form straight edges on the left and right, except for the last line which is left justified.
    LeftSpedifies left justification.
    RightSpedifies right justification.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Spreadsheet.HorizontalAlignment

    See Also