Search Results for

    Show / Hide Table of Contents

    TShapeProperties.TextFlags Property

    Option flags for the Text shape.

    Important:Instead of changing this flag, you should use instead LockText, TextHorizontalAlignment and TextVerticalAlignment. Changing those properties will automatically change the text flags, but in a simpler way.

    The option flags work differently in xls and xlsx files. All properties in FlexCel assume the xls way, and convert to the corresponding properties in xlsx when saving or loading xlsx files. For more information, check Text Rotation In Xls And Xlsx Mask: 0x000E Horizontal text alignment: 1 = left-aligned 2 = centered 3 = right-aligned 4 = justified Mask: 0x0070 Vertical text alignment: 1 = top 2 = center 3 = bottom 4 = justify Mask: 0x0200 1 if the Lock Text option is on (Format Text Box dialog box, Protection tab)

    Syntax

    Namespace: FlexCel.Core

    public Int32 TextFlags { get; set; }

    See also

    • TShapeProperties
    • TextHorizontalAlignment
    • TextVerticalAlignment
    • LockText
    • TextRotation
    • TextRotated
    • Text Rotation In Xls And Xlsx
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com