Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Add a new Font to this StyleSet.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Sub AddFont ( _
newFontId As StyleSetResourceId, _
baseFontId As StyleSetResourceId, _
fontSettings As FontSettings _
)
public void AddFont(
StyleSetResourceId newFontId,
StyleSetResourceId baseFontId,
FontSettings fontSettings
)
public:
void AddFont(
StyleSetResourceId^ newFontId,
StyleSetResourceId^ baseFontId,
FontSettings^ fontSettings
)
member AddFont :
newFontId:StyleSetResourceId *
baseFontId:StyleSetResourceId *
fontSettings:FontSettings -> unit
public function AddFont(
newFontId : StyleSetResourceId,
baseFontId : StyleSetResourceId,
fontSettings : FontSettings
)
Parameters
- newFontId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
Id of the new font to create.
- baseFontId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
Id of the font on which to base the new one.
- fontSettings
Type: Microsoft.VisualStudio.Modeling.Diagrams.FontSettings
Settings flags for the Font's overridden or immutable properties.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.