Row

概要

Row は Aspose.PDF の Go 用 FOSS における型です。

Row は Table の中の単一の行です。

この型は Go プログラムで Row オブジェクトを操作するための 15 のメソッドを提供します。利用可能なメソッドは AddCell、AddCells、Background、Border、CellCount、Cells、Height、Margin、SetBackground、SetBorder、SetHeight、SetMargin、およびさらに 3 つのメソッドです。Aspose.PDF の Go 用 FOSS パッケージをインストールすれば、すべての公開メンバーは任意の Go アプリケーションから利用可能です。

メソッド

シグネチャ説明
Table() → *TableTable は所有しているテーブルを返します。
AddCell(text: string) → *CellAddCell は指定されたテキストでセルを追加します。
AddCells(texts: ...string) → []*CellAddCells は、各テキストを順に AddCell に渡す便利な関数です。
Cells() → []*CellCells は行のセルを返します。
CellCount() → intCellCount はこの行のセル数を返します。
SetHeight(h: float64) → *RowSetHeight は行の描画高さをポイント単位で設定します。
Height() → float64Height は設定された行の高さを返します。
SetBackground(col: *Color) → *RowSetBackground は行レベルの背景色を設定します。
Background() → *ColorBackground は行レベルの背景色を返します。設定されていない場合は nil を返します。
SetTextStyle(s: TextStyle) → *RowSetTextStyle は行レベルのデフォルトテキストスタイルを設定します。
TextStyle() → *TextStyleTextStyle は行レベルのテキストスタイルのオーバーライドを返します。設定されていない場合は nil を返します。
SetBorder(b: BorderInfo) → *RowSetBorder は行レベルのデフォルトボーダーを設定します。
Border() → *BorderInfoBorder は行レベルのボーダーオーバーライドを返します。設定されていない場合は nil を返します。
SetMargin(m: MarginInfo) → *RowSetMargin は行レベルのデフォルトセルパディングを設定します。
Margin() → *MarginInfoMargin は行レベルのマージンオーバーライドを返します。設定されていない場合は nil を返します。

参照

 日本語