|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetAlign_children () |
| Get the alignment for all descendants. More... | |
| def | GetAlignment () |
| Get the alignment for this element. More... | |
| def | GetBold () |
| Get specify if the font is bold. More... | |
| def | GetChar_height () |
| Get specifies the height of the element in characters. More... | |
| def | GetChar_width () |
| Get specifies the width of the element in characters. More... | |
| def | GetElement_array () |
| Get an array of object literals that describe the subelements of this dialog box element. More... | |
| def | GetFont () |
| Get the font to use for this element. More... | |
| def | GetHeight () |
| Get specifies the height of the element in pixels. More... | |
| def | GetItalic () |
| Get specify if the font is italic. More... | |
| def | GetItem_id () |
| Get an ItemID for this dialog box. More... | |
| def | GetName () |
| Get the displayed name of the dialog box element. More... | |
| def | GetNext_tab () |
| Get an ItemID for the next dialog box item in the tab order. More... | |
| def | GetWidth () |
| Get specifies the width of the element in pixels. More... | |
| def | Set (name, item_id, type, next_tab, width, height, char_width, char_height, font, bold, italic, alignment, align_children, element_array) |
| Set values. More... | |
| def | SetAlign_children (value) |
| Set the alignment for all descendants. More... | |
| def | SetAlignment (value) |
| Set the alignment for this element. More... | |
| def | SetBold (value) |
| Set specify if the font is bold. More... | |
| def | SetChar_height (value) |
| Set specifies the height of the element in characters. More... | |
| def | SetChar_width (value) |
| Set specifies the width of the element in characters. More... | |
| def | SetElement_array (value) |
| Set an array of object literals that describe the subelements of this dialog box element. More... | |
| def | SetFont (value) |
| Set the font to use for this element. More... | |
| def | SetHeight (value) |
| Set specifies the height of the element in pixels. More... | |
| def | SetItalic (value) |
| Set specify if the font is italic. More... | |
| def | SetItem_id (value) |
| Set an ItemID for this dialog box. More... | |
| def | SetName (value) |
| Set the displayed name of the dialog box element. More... | |
| def | SetNext_tab (value) |
| Set an ItemID for the next dialog box item in the tab order. More... | |
| def | SetWidth (value) |
| Set specifies the width of the element in pixels. More... | |
This class represents a dialog box elements property specifies an object literal with the following set of properties.
| fsdk.DialogDescriptionElement.GetAlign_children | ( | ) |
Get the alignment for all descendants.
| fsdk.DialogDescriptionElement.GetAlignment | ( | ) |
Get the alignment for this element.
| fsdk.DialogDescriptionElement.GetBold | ( | ) |
Get specify if the font is bold.
| fsdk.DialogDescriptionElement.GetChar_height | ( | ) |
Get specifies the height of the element in characters.
If no height is specified, the combined height of the contents is used.
| fsdk.DialogDescriptionElement.GetChar_width | ( | ) |
Get specifies the width of the element in characters.
If no width is specified, the combined width of the contents is used.
| fsdk.DialogDescriptionElement.GetElement_array | ( | ) |
Get an array of object literals that describe the subelements of this dialog box element.
| fsdk.DialogDescriptionElement.GetFont | ( | ) |
Get the font to use for this element.
It will be one of the following strings:
"default" - Default font
"dialog" - Dialog box font
"palette" - Palette (small) Font
| fsdk.DialogDescriptionElement.GetHeight | ( | ) |
Get specifies the height of the element in pixels.
If no height is specified, the combined height of the contents is used.
| fsdk.DialogDescriptionElement.GetItalic | ( | ) |
Get specify if the font is italic.
| fsdk.DialogDescriptionElement.GetItem_id | ( | ) |
Get an ItemID for this dialog box.
| fsdk.DialogDescriptionElement.GetName | ( | ) |
Get the displayed name of the dialog box element.
| fsdk.DialogDescriptionElement.GetNext_tab | ( | ) |
Get an ItemID for the next dialog box item in the tab order.
| fsdk.DialogDescriptionElement.GetWidth | ( | ) |
Get specifies the width of the element in pixels.
If no width is specified, the combined width of the contents is used.
| def fsdk.DialogDescriptionElement.Set | ( | name, | |
| item_id, | |||
| type, | |||
| next_tab, | |||
| width, | |||
| height, | |||
| char_width, | |||
| char_height, | |||
| font, | |||
| bold, | |||
| italic, | |||
| alignment, | |||
| align_children, | |||
| element_array | |||
| ) |
Set values.
| [in] | name | The displayed name of the dialog box element. |
| [in] | item_id | An ItemID for this dialog box. |
| [in] | type | The type of this dialog box element. |
| [in] | next_tab | An ItemID for the dialog box item that should be first in the tab order. |
| [in] | width | Specifies the width of the element in pixels. |
| [in] | height | Specifies the height of the element in pixels. |
| [in] | char_width | Specifies the width of the element in characters. |
| [in] | char_height | Specifies the height of the element in characters. |
| [in] | font | The font to use for this element. |
| [in] | bold | Specify if the font is bold. |
| [in] | italic | Specify if the font is italic. |
| [in] | alignment | The alignment for this element. |
| [in] | align_children | The alignment for all descendants. |
| [in] | element_array | An array of object literals that describe the subelements of this dialog box element. |
| fsdk.DialogDescriptionElement.SetAlign_children | ( | value | ) |
Set the alignment for all descendants.
| [in] | value | The alignment for all descendants. |
| fsdk.DialogDescriptionElement.SetAlignment | ( | value | ) |
Set the alignment for this element.
| [in] | value | The alignment for this element. |
| fsdk.DialogDescriptionElement.SetBold | ( | value | ) |
Set specify if the font is bold.
| [in] | value | Specify if the font is bold. |
| fsdk.DialogDescriptionElement.SetChar_height | ( | value | ) |
Set specifies the height of the element in characters.
If no height is specified, the combined height of the contents is used.
| [in] | value | Specifies the height of the element in characters. |
| fsdk.DialogDescriptionElement.SetChar_width | ( | value | ) |
Set specifies the width of the element in characters.
If no width is specified, the combined width of the contents is used.
| [in] | value | Specifies the width of the element in characters. |
| fsdk.DialogDescriptionElement.SetElement_array | ( | value | ) |
Set an array of object literals that describe the subelements of this dialog box element.
| [in] | value | An array of object literals that describe the subelements of this dialog box element. |
| fsdk.DialogDescriptionElement.SetFont | ( | value | ) |
Set the font to use for this element.
It will be one of the following strings:
"default" - Default font
"dialog" - Dialog box font
"palette" - Palette (small) Font
| [in] | value | The font to use for this element. |
| fsdk.DialogDescriptionElement.SetHeight | ( | value | ) |
Set specifies the height of the element in pixels.
If no height is specified, the combined height of the contents is used.
| [in] | value | Specifies the height of the element in pixels. |
| fsdk.DialogDescriptionElement.SetItalic | ( | value | ) |
Set specify if the font is italic.
| [in] | value | Specify if the font is italic. |
| fsdk.DialogDescriptionElement.SetItem_id | ( | value | ) |
Set an ItemID for this dialog box.
| [in] | value | An ItemID for this dialog box. |
| fsdk.DialogDescriptionElement.SetName | ( | value | ) |
Set the displayed name of the dialog box element.
| [in] | value | The displayed name of the dialog box element. |
| fsdk.DialogDescriptionElement.SetNext_tab | ( | value | ) |
Set an ItemID for the next dialog box item in the tab order.
| [in] | value | An ItemID for the next dialog box item in the tab order. |
| fsdk.DialogDescriptionElement.SetWidth | ( | value | ) |
Set specifies the width of the element in pixels.
If no width is specified, the combined width of the contents is used.
| [in] | value | Specifies the width of the element in pixels. |