Inherits FoxitPDFSDKPython2._object.
|
| face_index = _fsdk.FontMapResult_face_index |
| Face index. This is a zero-based index value: More...
|
|
| file_read = _fsdk.FontMapResult_file_read |
| A FoxitPDFSDKPython2.FileReaderCallback object which is implemented by user. Foxit PDF SDK will use this callback object to read data for mapped font.If this is null, that means no mapped font.
|
|
This class represents font mappping result returned by callback function FoxitPDFSDKPython2.FontMapperCallback.MapFont .
◆ FontMapResult() [1/2]
def FoxitPDFSDKPython2.FontMapResult.FontMapResult |
( |
|
file_read, |
|
|
|
face_index |
|
) |
| |
Constructor, with parameters.
- Parameters
-
[in] | file_read | A FoxitPDFSDKPython2.FileReaderCallback object which is implemented by user. Foxit PDF SDK will use this callback object to read data for mapped font. If this is null, that means no mapped font. |
[in] | face_index | A zero-based index value:
-
If the mapped font (represented by file_read) is a "collection" (which means that a number of faces are stored in the same file), this index value represents the index of the mapped font face.
-
If the mapped font (represented by file_read) is not a collection, the index value shall be zero.
-1 means no mapped font. |
◆ FontMapResult() [2/2]
def FoxitPDFSDKPython2.FontMapResult.FontMapResult |
( |
|
other | ) |
|
Constructor, with another font mapping result object.
- Parameters
-
[in] | other | Another font mapping result object. |
◆ Set()
def FoxitPDFSDKPython2.FontMapResult.Set |
( |
|
file_read, |
|
|
|
face_index |
|
) |
| |
Set value.
- Parameters
-
[in] | file_read | A FoxitPDFSDKPython2.FileReaderCallback object which is implemented by user. Foxit PDF SDK will use this callback object to read data for mapped font. If this is null, that means no mapped font. |
[in] | face_index | A zero-based index value:
-
If the mapped font (represented by file_read) is a "collection" (which means that a number of faces are stored in the same file), this index value represents the index of the mapped font face.
-
If the mapped font (represented by file_read) is not a collection, the index value shall be zero.
-1 means no mapped font. |
◆ face_index
FoxitPDFSDKPython2.FontMapResult.face_index = _fsdk.FontMapResult_face_index |
|
static |
Face index. This is a zero-based index value:
-
If the mapped font (represented by file_read) is a "collection" (which means that a number of faces are stored in the same file), this index value represents the index of the mapped font face.
-
If the mapped font (represented by file_read) is not a collection, the index value shall be zero.
-1 means no mapped font.