FontUnit

FontUnit class

Module: aspose_barcode.generation.font_unit

Defines a particular format for text, including font face, size, and style attributes where size in Unit value property. This sample shows how to create and save a BarCode image.

Constructors

NameDescription
init

Methods

NameReturn TypeStaticDescription
strstrNoString representation of the FontUnit object.

Properties

NameTypeDescription
family_namestrGets the face name of this Font.
sizeOptional[Unit]Gets size of this FontUnit in Unit value. Raises: IllegalArgumentException: if the Size parameter value is less than or equal to 0.
styleFontStyleGets style information for this FontUnit.