DocumentationHelp Center
Class: mlreportgen.ppt.Table Package: mlreportgen.ppt
Access table row
tableRowOut = row(table,rowNumber)
example
tableRowOut = row(table,rowNumber) returns the row specified by the rowNumber.
tableRowOut
table
rowNumber
expand all
Color the third row in the table.
import mlreportgen.ppt.*; slidesFile = 'myTableRowMethod.pptx'; slides = Presentation(slidesFile); slide1 = add(slides,'Title and Content'); t = Table(magic(5)); row3 = row(t,3); row3.BackgroundColor = 'red'; replace(slide1,'Content',t); close(slides); if ispc winopen(slides.OutputPath); end
mlreportgen.ppt.Table
Table containing the row, specified as an mlreportgen.ppt.Table object.
double
Table row, specified as a double. The double is an index number indicating the position of the row. The number of the top row is 1.
1
Data Types: double
mlreportgen.ppt.TableRow
Table row object, returned as an mlreportgen.ppt.TableRow object
entry | mlreportgen.ppt.TableRow
entry
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office
Get trial now