seay - FontAwesomeNet 1.1.0

Font-Awesome-4.7.0 for Windows Forms and WPF

PM> Install-Package FontAwesomeNet -Version 1.1.0 -Source https://www.myget.org/F/seay/api/v3/index.json

Copy to clipboard

> nuget.exe install FontAwesomeNet -Version 1.1.0 -Source https://www.myget.org/F/seay/api/v3/index.json

Copy to clipboard

> dotnet add package FontAwesomeNet --version 1.1.0 --source https://www.myget.org/F/seay/api/v3/index.json

Copy to clipboard
<PackageReference Include="FontAwesomeNet" Version="1.1.0" />
Copy to clipboard
source https://www.myget.org/F/seay/api/v3/index.json

nuget FontAwesomeNet  ~> 1.1.0
Copy to clipboard

> choco install FontAwesomeNet --version 1.1.0 --source https://www.myget.org/F/seay/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "seay" -SourceLocation "https://www.myget.org/F/seay/api/v2"
Install-Module -Name "FontAwesomeNet" -RequiredVersion "1.1.0" -Repository "seay" 
Copy to clipboard

FontAwesomeNet

Font-Awesome for .NET(Windows Forms and WPF)

AppVeyor build status NuGet MyGet

sample application

开发环境

Windows 10 + Visual Studio 2013 + .NetFramework 3.5

功能

  • 将 FontAwesome 图标生成图片和 Icon 图标

使用

可以在 Windows Forms 和 WPF 程序中使用。

  • 添加类库,可以通过 nuget 安装。
PM Install-Package FontAwesomeNet
  • 添加 FontAwesomeNet 命名空间:FontAwesomeNet

  • 示例

// get FontAwesome icon class names(type is Dictionary<string, int>)
string[] names = FontAwesome.TypeDict.Select(v => v.Key).ToArray();

// use FontAwesome icon class name get FontAwesome icon Unicode value
int val = FontAwesome.TypeDict["fa-heart"];//0xf004

// defalut:
Bitmap bmp = FontAwesome.GetImage(val);//0xf004
Icon ico = FontAwesome.GetIcon(val);//0xf004

// custom:
FontAwesome.IconSize = 128;//change icon size
FontAwesome.ForeColer = Color.Purple;//change icon forecolor
Bitmap bmp = FontAwesome.GetImage(val);//0xf004
Icon ico = FontAwesome.GetIcon(val);//0xf004

协议

MIT License

如有问题,欢迎指出。

Font-Awesome-4.7.0 for Windows Forms and WPF v1.1.0

	Support self-contained font files, no need to install fonts to the system.
  • .NETFramework 3.5: 3.5.0.0

Owners

Seay

Authors

seayxu

Project URL

https://github.com/seayxu/FontAwesome

License

MIT

Tags

FontAwesome,FontAwesomeNet,WindowsForms,WPF

Info

77 total downloads
27 downloads for version 1.1.0
Download (111.13 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.1.0 111.13 KB Tue, 24 Jan 2017 14:24:52 GMT 27
1.0.0 14.39 KB Thu, 19 Jan 2017 15:19:37 GMT 13
1.0.0-pre1 14.4 KB Thu, 19 Jan 2017 14:48:15 GMT 37