|
Foxit PDF SDK
|
Public 成员函数 | |
| OFDCompositeUnit (const OFDCompositeUnit &other) | |
| 构造函数,通过另一个OFD复合对象单元对象。 更多... | |
| ~OFDCompositeUnit () | |
| 析构函数。 | |
| bool | IsEmpty () const |
| 检查当前对象是否为空。 更多... | |
| bool | operator != (const OFDCompositeUnit &other) const |
| 不相等操作符。 更多... | |
| OFDCompositeUnit & | operator= (const OFDCompositeUnit &other) |
| 赋值操作符。 更多... | |
| bool | operator== (const OFDCompositeUnit &other) const |
| 相等操作符。 更多... | |
| void | SetHeight (float height) |
| 设置复合单元高度。 更多... | |
| void | SetSubstitution (foxit::uint32 resource_id) |
| 设置复合单元替换缩略图。 更多... | |
| void | SetThumbnail (foxit::uint32 resource_id) |
| 设置复合单元缩略图。 更多... | |
| void | SetWidth (float width) |
| 设置复合单元宽度。 更多... | |
Public 成员函数 继承自 foxit::Base | |
| FS_HANDLE | Handle () const |
| 获取当前对象的句柄。 更多... | |
此类表示和OFD复合对象单元相关的方法。
| foxit::ofd::graphics::OFDCompositeUnit::OFDCompositeUnit | ( | const OFDCompositeUnit & | other | ) |
构造函数,通过另一个OFD复合对象单元对象。
| [in] | other | 另一个OFD复合对象单元对象。 |
| bool foxit::ofd::graphics::OFDCompositeUnit::IsEmpty | ( | ) | const |
检查当前对象是否为空。
当前对象为空时,表示当前对象是无用的。
| bool foxit::ofd::graphics::OFDCompositeUnit::operator != | ( | const OFDCompositeUnit & | other | ) | const |
不相等操作符。
| [in] | other | 另一个OFD复合对象单元对象。此函数将检查当前对象是否不等于这个对象。 |
| OFDCompositeUnit& foxit::ofd::graphics::OFDCompositeUnit::operator= | ( | const OFDCompositeUnit & | other | ) |
赋值操作符。
| [in] | other | 另一个OFD复合对象单元对象,其值将被赋给当前对象。 |
| bool foxit::ofd::graphics::OFDCompositeUnit::operator== | ( | const OFDCompositeUnit & | other | ) | const |
相等操作符。
| [in] | other | 另一个OFD复合对象单元对象。此函数将检查当前对象是否等于这个对象。 |
| void foxit::ofd::graphics::OFDCompositeUnit::SetHeight | ( | float | height | ) |
设置复合单元高度。
| [in] | height | 复合单元高度。 |
| void foxit::ofd::graphics::OFDCompositeUnit::SetSubstitution | ( | foxit::uint32 | resource_id | ) |
设置复合单元替换缩略图。
| [in] | resource_id | 替换缩略图资源ID。可通过函数 OFDDoc::AddImageResourceFromFile 等添加资源函数来获取资源ID。 |
| void foxit::ofd::graphics::OFDCompositeUnit::SetThumbnail | ( | foxit::uint32 | resource_id | ) |
| void foxit::ofd::graphics::OFDCompositeUnit::SetWidth | ( | float | width | ) |
设置复合单元宽度。
| [in] | width | 复合单元宽度。 |