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 BaseJavaClass.
Public Member Functions | |
None | __init__ (self, Union[FontUnit, Any] source) |
str | getFamilyName (self) |
Gets the face name of this Font. More... | |
Optional[Unit] | getSize (self) |
Gets size of this FontUnit in Unit value. More... | |
FontStyle | getStyle (self) |
Gets style information for this FontUnit. More... | |
None | init (self) |
None | setFamilyName (self, str value) |
Sets the face name of this Font. More... | |
None | setStyle (self, FontStyle value) |
Sets style information for this FontUnit. More... | |
Public Member Functions inherited from BaseJavaClass | |
None | __init__ (self, javaClass) |
def | getJavaClass (self) |
str | getJavaClassName (self) |
bool | isNull (self) |
None | printJavaClassName (self) |
None | setJavaClass (self, javaClass) |
Additional Inherited Members | |
Public Attributes inherited from BaseJavaClass | |
javaClass | |
javaClassName | |
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 getFamilyName | ( | self | ) |
Gets the face name of this Font.
Optional[Unit] getSize | ( | self | ) |
None init | ( | self | ) |
Reimplemented from BaseJavaClass.
None setFamilyName | ( | self, | |
str | value | ||
) |
Sets the face name of this Font.