CTFontCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CTFontCollection(CTFontCollectionOptions) |
Creates a CTFontCollection that contains all of the available font descriptors. |
CTFontCollection(CTFontDescriptor[], CTFontCollectionOptions) |
Creates a CTFontCollection from the specified set of queryDescriptors. |
CTFontCollection(CTFontCollectionOptions)
Creates a CTFontCollection that contains all of the available font descriptors.
public CTFontCollection (CoreText.CTFontCollectionOptions options);
new CoreText.CTFontCollection : CoreText.CTFontCollectionOptions -> CoreText.CTFontCollection
Parameters
- options
- CTFontCollectionOptions
Configuration options for creating the font collection, can be null.
Applies to
CTFontCollection(CTFontDescriptor[], CTFontCollectionOptions)
Creates a CTFontCollection from the specified set of queryDescriptors.
public CTFontCollection (CoreText.CTFontDescriptor[] queryDescriptors, CoreText.CTFontCollectionOptions options);
new CoreText.CTFontCollection : CoreText.CTFontDescriptor[] * CoreText.CTFontCollectionOptions -> CoreText.CTFontCollection
Parameters
- queryDescriptors
- CTFontDescriptor[]
An array of font descriptors, can be null.
- options
- CTFontCollectionOptions