![]() |
Aspose.Barcode for Python via Java Generation and Recognition API docs
|
Defines a particular format for text, including font face, size, and style attributes where size in Unit value property. More...
Inherits _MwWrapper.
Public Member Functions | |
| None | __init__ (self, Union[FontUnit, Any] source) |
| str | __str__ (self) |
| String representation of the FontUnit object. More... | |
| str | family_name (self) |
| Gets the face name of this Font. More... | |
| None | family_name (self, str value) |
| Sets the face name of this Font. More... | |
| Optional[Unit] | size (self) |
| Gets size of this FontUnit in Unit value. More... | |
| None | size (self, Unit value) |
| Sets size of this FontUnit in Unit value. More... | |
| FontStyle | style (self) |
| Gets style information for this FontUnit. More... | |
| None | style (self, FontStyle value) |
| Sets style information for this FontUnit. More... | |
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.
| None __init__ | ( | self, | |
| Union[FontUnit, Any] | source | ||
| ) |
| str __str__ | ( | self | ) |
String representation of the FontUnit object.
| str family_name | ( | self | ) |
Gets the face name of this Font.
| None family_name | ( | self, | |
| str | value | ||
| ) |
Sets the face name of this Font.
| Optional[Unit] size | ( | self | ) |
Gets size of this FontUnit in Unit value.
Raises: IllegalArgumentException: if the Size parameter value is less than or equal to 0.
| None size | ( | self, | |
| Unit | value | ||
| ) |
Sets size of this FontUnit in Unit value.
Raises: IllegalArgumentException: if the Size parameter value is less than or equal to 0.