TreeView for WinForms | ComponentOne
C1.Util Namespace / FontSubSet.TextFormat Class
Properties Methods


In This Topic
    FontSubSet.TextFormat Class Members
    In This Topic

    The following tables list the members exposed by FontSubSet.TextFormat.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of FontSubSet.TextFormat.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the text background color. The default is transparent.  
    Public PropertyGets or sets a Font used by this format.

    If not null, this value overrides the FontSubSet.TextFormat.FontName property.

     
    Public PropertyGets or sets a value indicating whether the font should be bolded.  
    Public PropertyProvides access to a set of Microsoft OpenType typography properties.  
    Public PropertyGets or sets whether the font should be italicized.  
    Public PropertyGets or sets a font family name.

    This value is used only if the FontSubSet.TextFormat.Font property is null.

    This value is case insensitive.

     
    Public PropertyGets or sets the logical font size, in points or in graphic units.

    The defalut value is 12.

    See also the description of the FontSubSet.TextFormat.FontSizeInGraphicUnits property.

     
    Public Property/// Gets or sets a value indicating whether FontSubSet.TextFormat.FontSize specifies the font size in graphic units or in points.  
    Public PropertyGets or sets the flags indicating the desired or emulated style of the font.  
    Public PropertyGets or sets the text foreground color. The default is black.  
    Public PropertyGets or sets the scaling factor for the glyph advance value.

    Valid values are from 0.5 up. The default is 1.

     
    Public PropertyGets or sets a value identifying the language system.  
    Public PropertyGets or sets a value specifying the explicit line gap (if not null), in graphic units.  
    Public PropertyGets or sets an OpenType script tag.  
    Public PropertyGets or sets a value indicating whether the strikethrough style is applied to the text.  
    Public PropertyGets or sets an arbitrary custom data associated with this FontSubSet.TextFormat.  
    Public PropertyGets or sets the flags indicating which decorations are applied to the text.  
    Public PropertyGets or sets the offset of the text in the orthogonal direction, in graphic units.

    The default is 0.

     
    Public PropertyGets or sets a value indicating whether the text is underlined.  
    Top
    Public Methods
     NameDescription
    Public MethodCopies the current text format settings to another FontSubSet.TextFormat object.  
    Public Methodstatic (Shared in Visual Basic)Returns the Language value corresponding to a given System.Globalization.CultureInfo.  
    Public Methodstatic (Shared in Visual Basic)Converts a ScriptCode value to the corresponding FontSubSet.ScriptTag.  
    Top
    See Also