ComponentOne Bitmap for UWP
Create(Factory,String,FontCollection,FontWeight,FontStyle,FontStretch,Single,String) Method

C1.UWP.DX Assembly > C1.Util.DX.DirectWrite Namespace > TextFormat Class > Create Method : Create(Factory,String,FontCollection,FontWeight,FontStyle,FontStretch,Single,String) Method
an instance of Factory
An array of characters that contains the name of the font family
A pointer to a font collection object. When this is NULL, indicates the system font collection.
A value that indicates the font weight for the text object created by this method.
A value that indicates the font style for the text object created by this method.
A value that indicates the font stretch for the text object created by this method.
The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch.
An array of characters that contains the locale name.
Creates a text format object used for text layout.
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal factory As Factory, _
   ByVal fontFamilyName As System.String, _
   ByVal fontCollection As FontCollection, _
   ByVal fontWeight As FontWeight, _
   ByVal fontStyle As FontStyle, _
   ByVal fontStretch As FontStretch, _
   ByVal fontSize As System.Single, _
   ByVal localeName As System.String _
) As TextFormat
public static TextFormat Create( 
   Factory factory,
   System.string fontFamilyName,
   FontCollection fontCollection,
   FontWeight fontWeight,
   FontStyle fontStyle,
   FontStretch fontStretch,
   System.float fontSize,
   System.string localeName
)

Parameters

factory
an instance of Factory
fontFamilyName
An array of characters that contains the name of the font family
fontCollection
A pointer to a font collection object. When this is NULL, indicates the system font collection.
fontWeight
A value that indicates the font weight for the text object created by this method.
fontStyle
A value that indicates the font style for the text object created by this method.
fontStretch
A value that indicates the font stretch for the text object created by this method.
fontSize
The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch.
localeName
An array of characters that contains the locale name.
See Also

Reference

TextFormat Class
TextFormat Members
Overload List