Foxit PDF SDK
FoxitPDFSDKPython3.TextPageCharInfo Class Reference

Inherits FoxitPDFSDKPython3._object.

Public Member Functions

def TextPageCharInfo ()
 Constructor.

 
def TextPageCharInfo (char_info)
 Constructor, with another character information object.
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...
 
 matrix = _swig_property(_fsdk.TextPageCharInfo_matrix_get, _fsdk.TextPageCharInfo_matrix_set)
 The matrix of the character.

 
 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.

 

Detailed Description

This class represents textpage character information.

Constructor & Destructor Documentation

◆ TextPageCharInfo()

def FoxitPDFSDKPython3.TextPageCharInfo.TextPageCharInfo (   char_info)

Constructor, with another character information object.

Parameters
[in]char_infoAnother character information object.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython3.TextPageCharInfo.Set (   font,
  flag,
  font_size,
  origin_x,
  origin_y,
  char_box,
  char_outbox,
  matrix 
)

Set value.

Parameters
[in]fontA valid font object.
[in]flagFlags 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_sizeFont size. This should be a positive value.
[in]origin_xThe x-coordinate of the origin position.
[in]origin_yThe y-coordinate of the origin position.
[in]char_boxThe glyph bounding box in page space.
[in]char_outboxThe 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]matrixThe matrix.
Returns
None.

Member Data Documentation

◆ flag

FoxitPDFSDKPython3.TextPageCharInfo.flag = _swig_property(_fsdk.TextPageCharInfo_flag_get, _fsdk.TextPageCharInfo_flag_set)
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.

◆ font_size

FoxitPDFSDKPython3.TextPageCharInfo.font_size = _swig_property(_fsdk.TextPageCharInfo_font_size_get, _fsdk.TextPageCharInfo_font_size_set)
static

Font size for character.

This value would a positive value.