ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / TextFormat Class / Create Method / Create(Factory,String,Single) Method
an instance of Factory
An array of characters that contains the name of the font family
The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch.

In This Topic
    Create(Factory,String,Single) Method
    In This Topic
    Creates a text format object used for text layout with normal weight, style and stretch.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal factory As Factory, _
       ByVal fontFamilyName As System.String, _
       ByVal fontSize As System.Single _
    ) As TextFormat
    public static TextFormat Create( 
       Factory factory,
       System.string fontFamilyName,
       System.float fontSize
    )

    Parameters

    factory
    an instance of Factory
    fontFamilyName
    An array of characters that contains the name of the font family
    fontSize
    The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch.
    See Also