Class FontUnit
Contents
[ Hide ]FontUnit class
Defines a particular format for text, including font face, size, and style attributes where size in Unit value property.
publicsealedclassFontUnit
Properties
Name | Description |
---|---|
FamilyName { get; set; } | Gets or sets the face name of this Font. |
Size { get; } | Gets or sets size of this FontUnit in Unit value. |
Style { get; set; } | Gets or sets style information for this FontUnit. |
Examples
This sample shows how to create and save a BarCode image.
[C#]using(BarcodeGeneratorgenerator=newBarcodeGenerator(EncodeTypes.Code128)){generator.CodeTextStyle.Font.Style=FontStyle.Italic;generator.CodeTextStyle.Font.Size.Point=18;generator.Save("test.png");}
See Also
- namespace Aspose.BarCode.Generation
- assembly Aspose.BarCode