|
Foxit PDF SDK
|
Public 成员函数 | |
| constructor () | |
| 构造函数。 | |
| constructor (name, item_id, type, next_tab, width, height, char_width, char_height, font, bold, italic, alignment, align_children, element_array) | |
| 带参数的构造函数。 更多... | |
| Set (name, item_id, type, next_tab, width, height, char_width, char_height, font, bold, italic, alignment, align_children, element_array) | |
| 设置值。 更多... | |
Public 属性 | |
| align_children | |
| 所有子元素的对齐方式。 | |
| alignment | |
| 此元素的对齐方式。 | |
| bold | |
| 指定字体是否为粗体。 | |
| char_height | |
| 指定元素的高度(以字符为单位)。 更多... | |
| char_width | |
| 指定元素的宽度(以字符为单位)。 更多... | |
| element_array | |
| 描述此对话框元素子元素的对象字面量数组。 | |
| font | |
| 用于此元素的字体。 更多... | |
| height | |
| 指定元素的高度(以像素为单位)。 更多... | |
| italic | |
| 指定字体是否为斜体。 | |
| item_id | |
| 此对话框的 ItemID。 | |
| name | |
| 对话框元素的显示名称。 | |
| next_tab | |
| Tab 顺序中下一个对话框项的 ItemID。 | |
| type | |
| 此对话框元素的类型。 | |
| width | |
| 指定元素的宽度(以像素为单位)。 更多... | |
此类表示对话框元素属性,它指定了一个具有以下属性集的对象字面量。
| FSDK::DialogDescriptionElement::constructor | ( | name | , |
| item_id | , | ||
| type | , | ||
| next_tab | , | ||
| width | , | ||
| height | , | ||
| char_width | , | ||
| char_height | , | ||
| font | , | ||
| bold | , | ||
| italic | , | ||
| alignment | , | ||
| align_children | , | ||
| element_array | |||
| ) |
带参数的构造函数。
| [in] | name | 对话框元素的显示名称。 |
| [in] | item_id | 此对话框的 ItemID。 |
| [in] | type | 此对话框元素的类型。 |
| [in] | next_tab | 在 Tab 顺序中应该排在第一位的对话框项的 ItemID。 |
| [in] | width | 指定元素的宽度(以像素为单位)。 |
| [in] | height | 指定元素的高度(以像素为单位)。 |
| [in] | char_width | 指定元素的宽度(以字符为单位)。 |
| [in] | char_height | 指定元素的高度(以字符为单位)。 |
| [in] | font | 用于此元素的字体。 |
| [in] | bold | 指定字体是否为粗体。 |
| [in] | italic | 指定字体是否为斜体。 |
| [in] | alignment | 此元素的对齐方式。 |
| [in] | align_children | 所有子元素的对齐方式。 |
| [in] | element_array | 描述此对话框元素子元素的对象字面量数组。 |
| FSDK::DialogDescriptionElement::Set | ( | name | , |
| item_id | , | ||
| type | , | ||
| next_tab | , | ||
| width | , | ||
| height | , | ||
| char_width | , | ||
| char_height | , | ||
| font | , | ||
| bold | , | ||
| italic | , | ||
| alignment | , | ||
| align_children | , | ||
| element_array | |||
| ) |
设置值。
| [in] | name | 对话框元素的显示名称。 |
| [in] | item_id | 此对话框的 ItemID。 |
| [in] | type | 此对话框元素的类型。 |
| [in] | next_tab | 在 Tab 顺序中应该排在第一位的对话框项的 ItemID。 |
| [in] | width | 指定元素的宽度(以像素为单位)。 |
| [in] | height | 指定元素的高度(以像素为单位)。 |
| [in] | char_width | 指定元素的宽度(以字符为单位)。 |
| [in] | char_height | 指定元素的高度(以字符为单位)。 |
| [in] | font | 用于此元素的字体。 |
| [in] | bold | 指定字体是否为粗体。 |
| [in] | italic | 指定字体是否为斜体。 |
| [in] | alignment | 此元素的对齐方式。 |
| [in] | align_children | 所有子元素的对齐方式。 |
| [in] | element_array | 描述此对话框元素子元素的对象字面量数组。 |
| FSDK::DialogDescriptionElement::char_height |
指定元素的高度(以字符为单位)。
如果未指定高度,则使用内容的组合高度。
| FSDK::DialogDescriptionElement::char_width |
指定元素的宽度(以字符为单位)。
如果未指定宽度,则使用内容的组合宽度。
| FSDK::DialogDescriptionElement::font |
用于此元素的字体。
它将是以下字符串之一:
| FSDK::DialogDescriptionElement::height |
指定元素的高度(以像素为单位)。
如果未指定高度,则使用内容的组合高度。
| FSDK::DialogDescriptionElement::width |
指定元素的宽度(以像素为单位)。
如果未指定宽度,则使用内容的组合宽度。