FontFamily-Konstruktor (String, FontCollection)
Initialisiert eine neue FontFamily mit dem angegebenen Namen in der angegebenen FontCollection.
Namespace: System.Drawing
Assembly: System.Drawing (in system.drawing.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
fontCollection As FontCollection _
)
'Usage
Dim name As String
Dim fontCollection As FontCollection
Dim instance As New FontFamily(name, fontCollection)
public FontFamily (
string name,
FontCollection fontCollection
)
public:
FontFamily (
String^ name,
FontCollection^ fontCollection
)
public FontFamily (
String name,
FontCollection fontCollection
)
public function FontFamily (
name : String,
fontCollection : FontCollection
)
Parameter
- name
Ein String, der den Namen der neuen FontFamily darstellt.
- fontCollection
Die FontCollection, die diese FontFamily enthält.
Ausnahmen
Ausnahmetyp | Bedingung |
---|---|
name gibt eine Schriftart an, die nicht installiert oder keine TrueType-Schriftart ist. |
Plattformen
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
FontFamily-Klasse
FontFamily-Member
System.Drawing-Namespace