FontUnit

FontUnit class

Namespace: Aspose.Barcode.Generation

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
__construct

Properties

NameRead/WriteDescription
FamilyNameRead/WriteGets the face name of this Font.
SizeRead-onlyGets size of this FontUnit in Unit value.
StyleRead/WriteGets style information for this FontUnit.

FontUnit__construct($source)

ParameterTypeDescription
$source``

FamilyName

Access: Read/Write

Gets the face name of this Font.

Sets the face name of this Font.

ParameterTypeDescription
$valuestring

Size

Access: Read-only

Gets size of this FontUnit in Unit value.

Style

Access: Read/Write

Gets style information for this FontUnit.

Sets style information for this FontUnit.

ParameterTypeDescription
$valueint