Word.Interfaces.TableRowCollectionLoadOptions interface

文書の Word のコレクションが含まれます。TableRow オブジェクト。

プロパティ

$all

読み込みオプションに $all を指定すると、すべてのスカラー プロパティ ( Range.address など) が読み込まれますが、ナビゲーション プロパティ ( Range.format.fill.color など) は読み込まれません。

cellCount

For each ITEM in the collection: 行内のセル数を取得します。

font

For each ITEM in the collection: フォントを取得します。 これを使用して、フォント名、サイズ、色、およびその他のプロパティを取得および設定します。

horizontalAlignment

For each ITEM in the collection: 行のすべてのセルの水平方向の配置を指定します。 値には、 leftcenteredright、または justified を指定できます。

isHeader

For each ITEM in the collection: 行が見出し行かどうかを確認します。 ヘッダー行数を設定するには、Table オブジェクトで headerRowCount を使用します。

parentTable

For each ITEM in the collection: 親テーブルを取得します。

preferredHeight

コレクション内の各アイテムの場合: 行の優先高さをポイント単位で指定します。

range

For EACH ITEM in the collection: テーブル行を表す Range オブジェクトを返します。

rowIndex

For each ITEM in the collection: 親テーブルの行のインデックスを取得します。

shading

For each ITEM in the collection: テーブル行の網かけを表す ShadingUniversal オブジェクトを返します。

shadingColor

For each ITEM in the collection: シェーディング カラーを指定します。 色は、"#RRGGBB" 形式で指定するか、色の名前を使用して指定します。

values

コレクション内の各アイテムの場合: 行内のテキスト値を 2D JavaScript 配列として指定します。

verticalAlignment

For each ITEM in the collection: 行のセルの垂直方向の配置を指定します。 値には、 topcenter、または bottom を指定できます。

プロパティの詳細

$all

読み込みオプションに $all を指定すると、すべてのスカラー プロパティ ( Range.address など) が読み込まれますが、ナビゲーション プロパティ ( Range.format.fill.color など) は読み込まれません。

$all?: boolean;

プロパティ値

boolean

cellCount

For each ITEM in the collection: 行内のセル数を取得します。

cellCount?: boolean;

プロパティ値

boolean

注釈

API セット: WordApi 1.3

font

For each ITEM in the collection: フォントを取得します。 これを使用して、フォント名、サイズ、色、およびその他のプロパティを取得および設定します。

font?: Word.Interfaces.FontLoadOptions;

プロパティ値

注釈

API セット: WordApi 1.3

horizontalAlignment

For each ITEM in the collection: 行のすべてのセルの水平方向の配置を指定します。 値には、 leftcenteredright、または justified を指定できます。

horizontalAlignment?: boolean;

プロパティ値

boolean

注釈

API セット: WordApi 1.3

isHeader

For each ITEM in the collection: 行が見出し行かどうかを確認します。 ヘッダー行数を設定するには、Table オブジェクトで headerRowCount を使用します。

isHeader?: boolean;

プロパティ値

boolean

注釈

API セット: WordApi 1.3

parentTable

For each ITEM in the collection: 親テーブルを取得します。

parentTable?: Word.Interfaces.TableLoadOptions;

プロパティ値

注釈

API セット: WordApi 1.3

preferredHeight

コレクション内の各アイテムの場合: 行の優先高さをポイント単位で指定します。

preferredHeight?: boolean;

プロパティ値

boolean

注釈

API セット: WordApi 1.3

range

For EACH ITEM in the collection: テーブル行を表す Range オブジェクトを返します。

range?: Word.Interfaces.RangeLoadOptions;

プロパティ値

注釈

API セット: WordApiDesktop 1.4

rowIndex

For each ITEM in the collection: 親テーブルの行のインデックスを取得します。

rowIndex?: boolean;

プロパティ値

boolean

注釈

API セット: WordApi 1.3

shading

For each ITEM in the collection: テーブル行の網かけを表す ShadingUniversal オブジェクトを返します。

shading?: Word.Interfaces.ShadingUniversalLoadOptions;

プロパティ値

注釈

API セット: WordApiDesktop 1.4

shadingColor

For each ITEM in the collection: シェーディング カラーを指定します。 色は、"#RRGGBB" 形式で指定するか、色の名前を使用して指定します。

shadingColor?: boolean;

プロパティ値

boolean

注釈

API セット: WordApi 1.3

values

コレクション内の各アイテムの場合: 行内のテキスト値を 2D JavaScript 配列として指定します。

values?: boolean;

プロパティ値

boolean

注釈

API セット: WordApi 1.3

verticalAlignment

For each ITEM in the collection: 行のセルの垂直方向の配置を指定します。 値には、 topcenter、または bottom を指定できます。

verticalAlignment?: boolean;

プロパティ値

boolean

注釈

API セット: WordApi 1.3