Returns font name by family name and its weight.
Namespace:
PerpetuumSoft.ReportingServices.Viewer.ServerAssembly: PerpetuumSoft.ReportingServices.Viewer.Server (in PerpetuumSoft.ReportingServices.Viewer.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static string GetFontFamilyKey( string familyName, FontWeight fontWeight ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetFontFamilyKey ( _ familyName As String, _ fontWeight As FontWeight _ ) As String |
Visual C++ |
---|
public: static String^ GetFontFamilyKey( String^ familyName, FontWeight fontWeight ) |
Parameters
- familyName
- Type: System..::.String
Font Family name.
- fontWeight
- Type: System.Windows..::.FontWeight
Font weight.
Return Value
Font family key like "familyName; fontWeight".Remarks
Sample of return value:
Tahoma; Bold.
Tahoma; Bold.