Foxit PDF SDK
foxit::ofd::graphics::CharInfo类 参考

继承自 Object .

Public 成员函数

 CharInfo ()
 构造函数。
 
 CharInfo (foxit::uint32 charcode, float x, float y)
 带参数的构造函数。 更多...
 
CharInfooperator= (const CharInfo &other)
 用另一个字符信息的构造函数。 更多...
 
void Set (foxit::uint32 charcode, float x, float y)
 设置值。 更多...
 

Public 属性

foxit::uint32 charcode
 字符码。文字的UNICODE编码值。
 
float x
 x轴坐标点,左下角点。坐标系为OFD坐标系。
 
float y
 y轴坐标点,左下角点。坐标系为OFD坐标系。
 

详细描述

文本对象字符信息结构。

构造及析构函数说明

◆ CharInfo()

foxit::ofd::graphics::CharInfo::CharInfo ( foxit::uint32  charcode,
float  x,
float  y 
)
inline

带参数的构造函数。

参数
[in]charcode字符码。文字的UNICODE编码值。
[in]xx轴坐标点,左下角点。坐标系为OFD坐标系。
[in]yy轴坐标点,左下角点。坐标系为OFD坐标系。

成员函数说明

◆ operator=()

CharInfo& foxit::ofd::graphics::CharInfo::operator= ( const CharInfo other)
inline

用另一个字符信息的构造函数。

参数
[in]other另一个字符信息对象。

◆ Set()

void foxit::ofd::graphics::CharInfo::Set ( foxit::uint32  charcode,
float  x,
float  y 
)
inline

设置值。

参数
[in]charcode字符码。文字的UNICODE编码值。
[in]xx轴坐标点,左下角点。坐标系为OFD坐标系。
[in]yy轴坐标点,左下角点。坐标系为OFD坐标系。
返回
无。