Foxit PDF SDK
|
Inherits FoxitPDFSDKPython3._object.
Public Member Functions | |
def | TextPageCharInfo (font, flag, font_size, origin_x, origin_y, char_box, char_outbox, matrix) |
Constructor, with parameters. More... | |
def | Set (font, flag, font_size, origin_x, origin_y, char_box, char_outbox, matrix) |
Set value. More... | |
Static Public Attributes | |
char_box = _swig_property(_fsdk.TextPageCharInfo_char_box_get, _fsdk.TextPageCharInfo_char_box_set) | |
The glyph bounding box in page space. | |
char_outbox = _swig_property(_fsdk.TextPageCharInfo_char_outbox_get, _fsdk.TextPageCharInfo_char_outbox_set) | |
The typographic(display and printing) bounding box in page space. | |
e_ComboWord = _fsdk.TextPageCharInfo_e_ComboWord | |
Character flag: ComboWord. | |
e_Generated = _fsdk.TextPageCharInfo_e_Generated | |
Character flag: Generated. | |
e_Hyphen = _fsdk.TextPageCharInfo_e_Hyphen | |
Character flag: Hyphen. | |
e_Normal = _fsdk.TextPageCharInfo_e_Normal | |
Character flag: Normal. | |
e_Unknown = _fsdk.TextPageCharInfo_e_Unknown | |
Character flag: Unknown. | |
e_UnUnicode = _fsdk.TextPageCharInfo_e_UnUnicode | |
Character flag: UnUnicode. | |
flag = _swig_property(_fsdk.TextPageCharInfo_flag_get, _fsdk.TextPageCharInfo_flag_set) | |
Flags to indicate which properties of textpage character flag are meaningful. More... | |
font = _swig_property(_fsdk.TextPageCharInfo_font_get, _fsdk.TextPageCharInfo_font_set) | |
A font for character. | |
font_size = _swig_property(_fsdk.TextPageCharInfo_font_size_get, _fsdk.TextPageCharInfo_font_size_set) | |
Font size for character. More... | |
origin_x = _swig_property(_fsdk.TextPageCharInfo_origin_x_get, _fsdk.TextPageCharInfo_origin_x_set) | |
The x-coordinate of the origin position. | |
origin_y = _swig_property(_fsdk.TextPageCharInfo_origin_y_get, _fsdk.TextPageCharInfo_origin_y_set) | |
The y-coordinate of the origin position. | |
This class represents textpage character information.
def FoxitPDFSDKPython3.TextPageCharInfo.TextPageCharInfo | ( | font, | |
flag, | |||
font_size, | |||
origin_x, | |||
origin_y, | |||
char_box, | |||
char_outbox, | |||
matrix | |||
) |
Constructor, with parameters.
Constructor, with another character information object.
Constructor.
[in] | font | A valid font object. |
[in] | flag | Flags to indicate which properties of textpage character flag are meaningful. Please refer to values starting from FoxitPDFSDKPython3.TextPageCharInfo.e_Normal and this should be one of these values except FoxitPDFSDKPython3.TextPageCharInfo.e_Unknown . |
[in] | font_size | Font size. This should be a positive value. |
[in] | origin_x | The x-coordinate of the origin position. |
[in] | origin_y | The y-coordinate of the origin position. |
[in] | char_box | The glyph bounding box in page space. |
[in] | char_outbox | The typographic (display and printing) bounding box in page space. The width is advance width, and the height is the sum of the ascent and descent. |
[in] | matrix | The matrix. |
[in] | char_info | Another character information object. |
def FoxitPDFSDKPython3.TextPageCharInfo.Set | ( | font, | |
flag, | |||
font_size, | |||
origin_x, | |||
origin_y, | |||
char_box, | |||
char_outbox, | |||
matrix | |||
) |
Set value.
[in] | font | A valid font object. |
[in] | flag | Flags to indicate which properties of textpage character flag are meaningful. Please refer to values starting from FoxitPDFSDKPython3.TextPageCharInfo.e_Normal and this should be one of these values except FoxitPDFSDKPython3.TextPageCharInfo.e_Unknown . |
[in] | font_size | Font size. This should be a positive value. |
[in] | origin_x | The x-coordinate of the origin position. |
[in] | origin_y | The y-coordinate of the origin position. |
[in] | char_box | The glyph bounding box in page space. |
[in] | char_outbox | The typographic (display and printing) bounding box in page space. The width is advance width, and the height is the sum of the ascent and descent. |
[in] | matrix | The matrix. |
|
static |
Flags to indicate which properties of textpage character flag are meaningful.
Please refer to values starting from FoxitPDFSDKPython3.TextPageCharInfo.e_Normal and this should be one of these values.
|
static |
Font size for character.
This value would a positive value.