Difference between revisions of "PptTabulationTable class"
Line 1: | Line 1: | ||
− | + | <br/>{{CGscriptClass_Template | |
− | + | |Name=PptTabulationTable | |
− | {{CGscriptClass_Template | + | |Description=A table PPT element wrapper for use in tabulation. Calling a TabulationScript from a powerponumber must return atleast 1 PPT element. |
− | |Name= | ||
− | |Description= | ||
|Constructors= | |Constructors= | ||
{{CGscriptConstructors_Template|Parameters= | {{CGscriptConstructors_Template|Parameters= | ||
− | {{CGscriptParameters_Template|Type=number|Name= | + | {{CGscriptParameters_Template|Type=number|Name=tableid|Description=The return value from createCrossDiagram or createFrequencyDiagram.}} |
− | |Description= | + | |Description=Create a table for use in power ponumber.}} |
{{CGscriptConstructors_Template|Parameters= | {{CGscriptConstructors_Template|Parameters= | ||
− | {{CGscriptParameters_Template|Type=number|Name= | + | {{CGscriptParameters_Template|Type=number|Name=tableid|Description=The return value from createCrossDiagram or createFrequencyDiagram.|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=top|Description=See Top.|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=left|Description=See Left.|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=width|Description=See Width.|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=height|Description=See Height.}} |
− | |Description= | + | |Description=Create a table for use in power ponumber with position.}} |
|Methods= | |Methods= | ||
− | {{CGscriptMethods_Template|ReturnType=string|Name= | + | {{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}} |
|Properties= | |Properties= | ||
− | {{CGscriptProperties_Template|ReturnType=number|Name= | + | {{CGscriptProperties_Template|ReturnType=number|Name=Height|HasGetter=1|HasSetter=1|Description=Get/set Height of element in pct of slide. -1 == use Height of element. For tables, 0 == 5% per row.}} |
− | {{CGscriptProperties_Template|ReturnType=number|Name= | + | {{CGscriptProperties_Template|ReturnType=number|Name=Left|HasGetter=1|HasSetter=1|Description=Get/set Left offset in pct from UpperLeftCorner. -1 == use positioning of element.}} |
− | {{CGscriptProperties_Template|ReturnType=string|Name= | + | {{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}} |
− | {{CGscriptProperties_Template|ReturnType=number|Name= | + | {{CGscriptProperties_Template|ReturnType=number|Name=Top|HasGetter=1|HasSetter=1|Description=Get/set Top offset in pct from UpperLeftCorner. -1 == use positioning of element.}} |
− | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name= | + | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}} |
− | {{CGscriptProperties_Template|ReturnType=number|Name= | + | {{CGscriptProperties_Template|ReturnType=number|Name=Width|HasGetter=1|HasSetter=1|Description=Get/set Width of element in pct of slide. -1 == use Width of element. For tables, 0 == 5% per column.}} |
− | {{CGscriptProperties_Template|ReturnType=number|Name= | + | {{CGscriptProperties_Template|ReturnType=number|Name=ZIndex|HasGetter=1|HasSetter=1|Description=Get/set ZIndex of element. -1 == use ZIndex of element.}} |
}} | }} | ||
+ | |||
+ | ==== <span style="color:#a52a2a">'''Examples'''</span> ==== | ||
+ | |||
+ | Type the below script into CGScript prompt to get its result: | ||
+ | <source lang="javascript"> | ||
+ | Update soon! | ||
+ | </source> |
Revision as of 05:40, 5 August 2016
PptTabulationTable
A table PPT element wrapper for use in tabulation. Calling a TabulationScript from a powerponumber must return atleast 1 PPT element.
Constructors
- (number tableid "The return value from createCrossDiagram or createFrequencyDiagram.") - Create a table for use in power ponumber.
- (number tableid "The return value from createCrossDiagram or createFrequencyDiagram.", number top "See Top.", number left "See Left.", number width "See Width.", number height "See Height.") - Create a table for use in power ponumber with position.
Methods
- string ToString() - The string representation of the object.
Properties
- number Height { get; set; } - Get/set Height of element in pct of slide. -1 == use Height of element. For tables, 0 == 5% per row.
- number Left { get; set; } - Get/set Left offset in pct from UpperLeftCorner. -1 == use positioning of element.
- string ObjectTypeName { get; } - The name of the type of object.
- number Top { get; set; } - Get/set Top offset in pct from UpperLeftCorner. -1 == use positioning of element.
- TypeInformation TypeInformation { get; } - Get information about this class.
- number Width { get; set; } - Get/set Width of element in pct of slide. -1 == use Width of element. For tables, 0 == 5% per column.
- number ZIndex { get; set; } - Get/set ZIndex of element. -1 == use ZIndex of element.
Examples
Type the below script into CGScript prompt to get its result:
Update soon!