StyleSet::GetFont Method (StyleSetResourceId^)

 

Retrieves a specific Font from the StyleSet. If it's not in the current one, it looks up the parent chain to see if it can find it there.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
Font^ GetFont(
	StyleSetResourceId^ fontId
)

Parameters

fontId
Type: Microsoft.VisualStudio.Modeling.Diagrams::StyleSetResourceId^

Id of font to retrieve.

Return Value

Type: System.Drawing::Font^
Return to top
Show: