GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    HorizontalAlignment Enum

    Namespace:
    GemBox.Spreadsheet.Drawing
    Assembly:
    GemBox.Spreadsheet.dll

    Represents an enumeration of available horizontal alignments for text.

    • C#
    • VB.NET
    public enum HorizontalAlignment
    Public Enum HorizontalAlignment

    Fields

    Center

    Align text in the center.

    Distributed

    Distributes the text words across an entire text line.

    This value is currently not supported in PDF, XPS, and image formats and Justify value is exported instead.

    DistributedThai

    Distributes Thai text specially, because each character is treated as a word.

    This value is currently not supported in PDF, XPS, and image formats and Justify value is exported instead.

    Justify

    Align text so that it is justified across the whole line. Short sentences are not justified.

    JustifyLow

    Aligns the text with an adjusted kashida length for Arabic text.

    This value is currently not supported in PDF, XPS, and image formats and Justify value is exported instead.

    Left

    Align text to the left margin.

    Right

    Align text to the right margin.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.