[]
Creates a text format object used for text layout with normal weight, style and stretch.
public static TextFormat Create(Factory factory, string fontFamilyName, float fontSize)
Type | Name | Description |
---|---|---|
Factory | factory | an instance of Factory |
string | fontFamilyName | An array of characters that contains the name of the font family |
float | fontSize | The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch. |
Type | Description |
---|---|
TextFormat |
Creates a text format object used for text layout with normal stretch.
public static TextFormat Create(Factory factory, string fontFamilyName, FontWeight fontWeight, FontStyle fontStyle, float fontSize)
Type | Name | Description |
---|---|---|
Factory | factory | an instance of Factory |
string | fontFamilyName | An array of characters that contains the name of the font family |
FontWeight | fontWeight | A value that indicates the font weight for the text object created by this method. |
FontStyle | fontStyle | A value that indicates the font style for the text object created by this method. |
float | fontSize | The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch. |
Type | Description |
---|---|
TextFormat |
Creates a text format object used for text layout.
public static TextFormat Create(Factory factory, string fontFamilyName, FontWeight fontWeight, FontStyle fontStyle, FontStretch fontStretch, float fontSize)
Type | Name | Description |
---|---|---|
Factory | factory | an instance of Factory |
string | fontFamilyName | An array of characters that contains the name of the font family |
FontWeight | fontWeight | A value that indicates the font weight for the text object created by this method. |
FontStyle | fontStyle | A value that indicates the font style for the text object created by this method. |
FontStretch | fontStretch | A value that indicates the font stretch for the text object created by this method. |
float | fontSize | The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch. |
Type | Description |
---|---|
TextFormat |
Creates a text format object used for text layout.
public static TextFormat Create(Factory factory, string fontFamilyName, FontCollection fontCollection, FontWeight fontWeight, FontStyle fontStyle, FontStretch fontStretch, float fontSize)
Type | Name | Description |
---|---|---|
Factory | factory | an instance of Factory |
string | fontFamilyName | An array of characters that contains the name of the font family |
FontCollection | fontCollection | A pointer to a font collection object. When this is NULL, indicates the system font collection. |
FontWeight | fontWeight | A value that indicates the font weight for the text object created by this method. |
FontStyle | fontStyle | A value that indicates the font style for the text object created by this method. |
FontStretch | fontStretch | A value that indicates the font stretch for the text object created by this method. |
float | fontSize | The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch. |
Type | Description |
---|---|
TextFormat |
Creates a text format object used for text layout.
public static TextFormat Create(Factory factory, string fontFamilyName, FontCollection fontCollection, FontWeight fontWeight, FontStyle fontStyle, FontStretch fontStretch, float fontSize, string localeName)
Type | Name | Description |
---|---|---|
Factory | factory | an instance of Factory |
string | fontFamilyName | An array of characters that contains the name of the font family |
FontCollection | fontCollection | A pointer to a font collection object. When this is NULL, indicates the system font collection. |
FontWeight | fontWeight | A value that indicates the font weight for the text object created by this method. |
FontStyle | fontStyle | A value that indicates the font style for the text object created by this method. |
FontStretch | fontStretch | A value that indicates the font stretch for the text object created by this method. |
float | fontSize | The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch. |
string | localeName | An array of characters that contains the locale name. |
Type | Description |
---|---|
TextFormat |