row
クラス: mlreportgen.ppt.Table
名前空間: mlreportgen.ppt
テーブル行へのアクセス
説明
は、tableRowOut
= row(table
,rowNumber
)rowNumber
で指定された行を返します。
例
テーブル行の色付け
テーブルの 3 番目の行に色を付けます。
import mlreportgen.ppt.*; ppt = Presentation('myTableRowMethod.pptx'); open(ppt); slide1 = add(ppt,'Title and Content'); t = Table(magic(5)); row3 = row(t,3); row3.BackgroundColor = 'red'; replace(slide1,'Content',t); close(ppt); rptview(ppt);
入力引数
table
— 行を含むテーブル
mlreportgen.ppt.Table
オブジェクト
行を含むテーブル。mlreportgen.ppt.Table
オブジェクトとして指定します。
rowNumber
— テーブル行
double
テーブル行。double
として指定します。double
は、行の位置を示すインデックス番号です。最初の行の番号は 1
です。
データ型: double
出力引数
tableRowOut
— テーブル行オブジェクト
mlreportgen.ppt.TableRow
オブジェクト
テーブル行オブジェクト。mlreportgen.ppt.TableRow
オブジェクトとして返されます。
バージョン履歴
R2014b で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)