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

    Show / Hide Table of Contents

    VerticalAlignment Enum

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents an enumeration of available vertical alignments for text.

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

    Fields

    Bottom

    Align the text to the bottom of the bounding rectangle.

    Distributed

    Align the text so that it is distributed vertically.

    When text is horizontal, this spaces out the actual lines of text and is almost always identical in behavior to Justify (special case: if only 1 line, then aligned to Middle).

    When text is vertical, then it distributes the letters vertically. This is different than Justify, because it always forces distribution of the words, even if there are only one or two words in a line.

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

    Justify

    Anchor the text so that it is justified vertically.

    When text is horizontal, this spaces out the actual lines of text and is almost always identical in behavior to Distributed (special case: if only 1 line, then aligned to Top).

    When text is vertical, then it justifies the letters vertically. This is different than Distributed, because in some cases such as very little text in a line, it does not justify.

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

    Middle

    Align the text to the middle of the bounding rectangle.

    Top

    Align the text to the top of the bounding rectangle.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.