Difference between revisions of "PptTabulationTable class"
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
{{CGscriptClass_Template | {{CGscriptClass_Template | ||
|Name=<nowiki>PptTabulationTable</nowiki> | |Name=<nowiki>PptTabulationTable</nowiki> | ||
− | |Description=<nowiki>A table PPT element wrapper for use in tabulation. Calling a TabulationScript from a | + | |Description=<nowiki>A table PPT element wrapper for use in tabulation. Calling a TabulationScript from a powerpoint must return atleast 1 PPT element.</nowiki> |
− | |Constructors= | + | |InheritsFrom=object|Constructors= |
{{CGscriptConstructors_Template|Parameters= | {{CGscriptConstructors_Template|Parameters= | ||
− | {{CGscriptParameters_Template|Type= | + | {{CGscriptParameters_Template|Type=int|Name=<nowiki>tableid</nowiki>|Description=<nowiki>The return value from createCrossDiagram or createFrequencyDiagram.</nowiki>}} |
− | |Description=<nowiki>Create a table for use in power | + | |Description=<nowiki>Create a table for use in power point.</nowiki>}} |
{{CGscriptConstructors_Template|Parameters= | {{CGscriptConstructors_Template|Parameters= | ||
− | {{CGscriptParameters_Template|Type= | + | {{CGscriptParameters_Template|Type=int|Name=<nowiki>tableid</nowiki>|Description=<nowiki>The return value from createCrossDiagram or createFrequencyDiagram.</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=<nowiki>top</nowiki>|Description=<nowiki>See Top.</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=<nowiki>left</nowiki>|Description=<nowiki>See Left.</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=<nowiki>width</nowiki>|Description=<nowiki>See Width.</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=<nowiki>height</nowiki>|Description=<nowiki>See Height.</nowiki>}} |
− | |Description=<nowiki>Create a table for use in power | + | |Description=<nowiki>Create a table for use in power point with position.</nowiki>}} |
|Methods= | |Methods= | ||
− | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}} | + | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}} |
|Properties= | |Properties= | ||
{{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>Height</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set Height of element in pct of slide. -1 == use Height of element. For tables, 0 == 5% per row.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>Height</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set Height of element in pct of slide. -1 == use Height of element. For tables, 0 == 5% per row.</nowiki>}} | ||
Line 18: | Line 16: | ||
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} | ||
{{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>Top</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set Top offset in pct from UpperLeftCorner. -1 == use positioning of element.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>Top</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set Top offset in pct from UpperLeftCorner. -1 == use positioning of element.</nowiki>}} | ||
− | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}} |
{{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>Width</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set Width of element in pct of slide. -1 == use Width of element. For tables, 0 == 5% per column.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>Width</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set Width of element in pct of slide. -1 == use Width of element. For tables, 0 == 5% per column.</nowiki>}} | ||
− | {{CGscriptProperties_Template|ReturnType= | + | {{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>ZIndex</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set ZIndex of element. -1 == use ZIndex of element.</nowiki>}} |
}} | }} | ||
+ | |||
+ | ==== <span style="color:#a52a2a">'''Examples'''</span> ==== | ||
+ | |||
+ | Type the below script into CGScript prompt to get its result: | ||
+ | <source lang="javascript"> | ||
+ | Update soon! | ||
+ | </source> |
Latest revision as of 06:23, 2 July 2020
PptTabulationTable
A table PPT element wrapper for use in tabulation. Calling a TabulationScript from a powerpoint must return atleast 1 PPT element.
Parent class
Inherits from object
Constructors
- (int tableid "The return value from createCrossDiagram or createFrequencyDiagram.") - Create a table for use in power point.
- (int 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 point with position.
Methods
- (From object) 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.
- (From object) 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.
- int 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!