|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetChar_box () |
| Get the glyph bounding box in page space. More... | |
| def | GetChar_outbox () |
| Get the typographic(display and printing) bounding box in page space. More... | |
| def | GetFlag () |
| Get flags to indicate which properties of textpage character flag are meaningful. More... | |
| def | GetFont () |
| Get a font for character. More... | |
| def | GetFont_size () |
| Get font size for character. More... | |
| def | GetMatrix () |
| Get the matrix of the character. More... | |
| def | GetOrigin_x () |
| Get the x-coordinate of the origin position. More... | |
| def | GetOrigin_y () |
| Get the y-coordinate of the origin position. More... | |
| def | Set (font, flag, font_size, origin_x, origin_y, char_box, char_outbox, matrix) |
| Set value. More... | |
| def | SetChar_box (value) |
| Set the glyph bounding box in page space. More... | |
| def | SetChar_outbox (value) |
| Set the typographic(display and printing) bounding box in page space. More... | |
| def | SetFlag (value) |
| Set flags to indicate which properties of textpage character flag are meaningful. More... | |
| def | SetFont (value) |
| Set a font for character. More... | |
| def | SetFont_size (value) |
| Set font size for character. More... | |
| def | SetMatrix (value) |
| Set the matrix of the character. More... | |
| def | SetOrigin_x (value) |
| Set the x-coordinate of the origin position. More... | |
| def | SetOrigin_y (value) |
| Set the y-coordinate of the origin position. More... | |
This class represents textpage character information.
| fsdk.TextPageCharInfo.GetChar_box | ( | ) |
Get the glyph bounding box in page space.
| fsdk.TextPageCharInfo.GetChar_outbox | ( | ) |
Get the typographic(display and printing) bounding box in page space.
| fsdk.TextPageCharInfo.GetFlag | ( | ) |
Get flags to indicate which properties of textpage character flag are meaningful.
Please refer to values starting from fsdk.TextPageCharInfoE_Normal and this should be one of these values.
| fsdk.TextPageCharInfo.GetFont | ( | ) |
Get a font for character.
| fsdk.TextPageCharInfo.GetFont_size | ( | ) |
Get font size for character.
This value would a positive value.
| fsdk.TextPageCharInfo.GetMatrix | ( | ) |
Get the matrix of the character.
| fsdk.TextPageCharInfo.GetOrigin_x | ( | ) |
Get the x-coordinate of the origin position.
| fsdk.TextPageCharInfo.GetOrigin_y | ( | ) |
Get the y-coordinate of the origin position.
| def fsdk.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 fsdk.TextPageCharInfoE_Normal and this should be one of these values except fsdk.TextPageCharInfoE_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. |
| fsdk.TextPageCharInfo.SetChar_box | ( | value | ) |
Set the glyph bounding box in page space.
| [in] | value | The glyph bounding box in page space. |
| fsdk.TextPageCharInfo.SetChar_outbox | ( | value | ) |
Set the typographic(display and printing) bounding box in page space.
| [in] | value | The typographic(display and printing) bounding box in page space. |
| fsdk.TextPageCharInfo.SetFlag | ( | value | ) |
Set flags to indicate which properties of textpage character flag are meaningful.
Please refer to values starting from fsdk.TextPageCharInfoE_Normal and this should be one of these values.
| [in] | value | Flags to indicate which properties of textpage character flag are meaningful. |
| fsdk.TextPageCharInfo.SetFont | ( | value | ) |
Set a font for character.
| [in] | value | A font for character. |
| fsdk.TextPageCharInfo.SetFont_size | ( | value | ) |
Set font size for character.
This value would a positive value.
| [in] | value | Font size for character. |
| fsdk.TextPageCharInfo.SetMatrix | ( | value | ) |
Set the matrix of the character.
| [in] | value | The matrix of the character. |
| fsdk.TextPageCharInfo.SetOrigin_x | ( | value | ) |
Set the x-coordinate of the origin position.
| [in] | value | The x-coordinate of the origin position. |
| fsdk.TextPageCharInfo.SetOrigin_y | ( | value | ) |
Set the y-coordinate of the origin position.
| [in] | value | The y-coordinate of the origin position. |