Canonical path: NemAll_Python_BasisElements.TextProperties
  
Implementation of the text properties
Methods:
- 
            GetRatio–Get text height/width ratio 
- 
            Init–Init section properties with default values 
- 
            IsDraftText–Check if the text is a draft text (unprintable) 
- 
            SetHasBackgroundColorAndTransparentBackgroundColor–Setting for filling the text background with the color of the viewport 
- 
            __eq__–equal operator 
- 
            __init__–Overloaded function. See individual overloads. 
- 
            __repr__–Convert to string 
Attributes:
- 
          Alignment(TextAlignment) –Text alignment 
- 
          BackgroundColor(int) –Background color of the text 
- 
          ColumnSlopeAngle(Angle) –Slope angle of columns in [rad] 
- 
          Expansion(int) –Text expansion 
- 
          Font(int) –Font ID 
- 
          FontAngle(Angle) –Angle of characters (italic) in [rad] 
- 
          FontStyles(int) –Font style (Bold, Italic, Underline, Crossed out) via bits, where: 
- 
          HasBackgroundColor(bool) –Whether the text has a background color 
- 
          HasReferencePoint(bool) –Whether the text has a reference point 
- 
          HasTextFrame(bool) –Whether to draw border around text 
- 
          HasTransparentBackground(bool) –Whether the text background is to be transparent 
- 
          Height(float) –Height of text in [mm] 
- 
          IsScaleDependent(bool) –Whether the text is to be scale dependent 
- 
          IsUserModifiable(bool) –Whether the text should be modifiable by the user 
- 
          LineFeed(float) –Line feed of text in [mm] 
- 
          TextAngle(Angle) –Angle of whole text in [rad] 
- 
          TextFrameColor(int) –Color ID of the text frame color 
- 
          TextFramePen(int) –Pen ID of the text frame 
- 
          TextFrameStroke(int) –Stroke ID of the text frame 
- 
          Type(TextType) –Text type (0 - normal text, >1 variable text) 
- 
          Width(float) –Text width in [mm] 
- 
          WrappedText(bool) –Whether to use text wrapping. 
- 
          WrappingWidth(float) –Wrapping width. Used when wrapping is active 
property
      writable
  
    Font style (Bold, Italic, Underline, Crossed out) via bits, where:
- the first bit from right indicates the bold state
- the second bit from right indicates the italic state
- the third bit from right indicates the underlined state
- the fourth bit from right indicates the crossed out state
property
      writable
  
    Whether the text has a background color
property
      writable
  
    Whether the text background is to be transparent
property
      writable
  
    Whether the text should be modifiable by the user
    Check if the text is a draft text (unprintable)
Returns:
- 
              bool–True if text is unprintable, otherwise False 
    Setting for filling the text background with the color of the viewport
Parameters:
- 
            value(bool) –Set to to True to turn the background filling on. 
__eq__(prop: TextProperties) -> bool
equal operator
Parameters:
- 
            prop(TextProperties) –TextProperties to compare 
Returns:
- 
              bool–true if they are equal, false otherwise