Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / TextLayout Class / JustifyLastLine Property

In This Topic
    JustifyLastLine Property
    In This Topic
    Gets or sets a value indicating whether for paragraphs that have TextAlignment set to TextAlignment.Distributed, the last line will be justified (typical in East Asian typography).

    This property has effect only for horizontal text, and only if TextExtensionStrategy is set to TextExtensionStrategy.EastAsianExcel or TextExtensionStrategy.Excel.

    The default is false.

    Public Property JustifyLastLine As System.Boolean
    public System.bool JustifyLastLine {get; set;}
    Setting this property to true allows implementing text alignment that is similar to "Justify distributed" mode available in East Asian versions of MS Excel.
    See Also