PowerPoint.Borders class

テーブル セルの境界線を表します。

Extends

プロパティ

bottom

下縁取りを取得します。

context

オブジェクトに関連付けられている要求コンテキスト。 これにより、アドインのプロセスが Office ホスト アプリケーションのプロセスに接続されます。

diagonalDown

対角線の境界線 (左上から右下) を取得します。

diagonalUp

対角線の境界線 (左下から右上) を取得します。

left

左の境界線を取得します。

right

右縁取りを取得します。

top

上枠を取得します。

メソッド

load(options)

オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、context.sync() を呼び出す必要があります。

load(propertyNames)

オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、context.sync() を呼び出す必要があります。

load(propertyNamesAndPaths)

オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、context.sync() を呼び出す必要があります。

toJSON()

API オブジェクトが JSON.stringify() に渡されるときに、より有用な出力を提供するために、JavaScript toJSON() メソッドをオーバーライドします。 (次に、JSON.stringify渡されたオブジェクトの toJSON メソッドを呼び出します)。元の PowerPoint.Borders オブジェクトが API オブジェクトであるのに対し、 toJSON メソッドは、元のオブジェクトから読み込まれた子プロパティの浅いコピーを含むプレーンな JavaScript オブジェクト ( PowerPoint.Interfaces.BordersData と型指定) を返します。

プロパティの詳細

bottom

下縁取りを取得します。

readonly bottom: PowerPoint.Border;

プロパティ値

注釈

API セット: PowerPointApi 1.9

context

オブジェクトに関連付けられている要求コンテキスト。 これにより、アドインのプロセスが Office ホスト アプリケーションのプロセスに接続されます。

context: RequestContext;

プロパティ値

diagonalDown

対角線の境界線 (左上から右下) を取得します。

readonly diagonalDown: PowerPoint.Border;

プロパティ値

注釈

API セット: PowerPointApi 1.9

diagonalUp

対角線の境界線 (左下から右上) を取得します。

readonly diagonalUp: PowerPoint.Border;

プロパティ値

注釈

API セット: PowerPointApi 1.9

left

左の境界線を取得します。

readonly left: PowerPoint.Border;

プロパティ値

注釈

API セット: PowerPointApi 1.9

right

右縁取りを取得します。

readonly right: PowerPoint.Border;

プロパティ値

注釈

API セット: PowerPointApi 1.9

top

上枠を取得します。

readonly top: PowerPoint.Border;

プロパティ値

注釈

API セット: PowerPointApi 1.9

メソッドの詳細

load(options)

オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、context.sync() を呼び出す必要があります。

load(options?: PowerPoint.Interfaces.BordersLoadOptions): PowerPoint.Borders;

パラメーター

options
PowerPoint.Interfaces.BordersLoadOptions

読み込むオブジェクトのプロパティのオプションを指定します。

返品

load(propertyNames)

オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、context.sync() を呼び出す必要があります。

load(propertyNames?: string | string[]): PowerPoint.Borders;

パラメーター

propertyNames

string | string[]

読み込むプロパティを指定するコンマ区切りの文字列または文字列の配列。

返品

load(propertyNamesAndPaths)

オブジェクトの指定されたプロパティを読み込むコマンドを待ち行列に入れます。 プロパティを読み取る前に、context.sync() を呼び出す必要があります。

load(propertyNamesAndPaths?: {
            select?: string;
            expand?: string;
        }): PowerPoint.Borders;

パラメーター

propertyNamesAndPaths

{ select?: string; expand?: string; }

propertyNamesAndPaths.select は読み込むプロパティを指定するコンマ区切りの文字列であり、 propertyNamesAndPaths.expand は読み込むナビゲーションのプロパティを指定するコンマ区切りの文字列です。

返品

toJSON()

API オブジェクトが JSON.stringify() に渡されるときに、より有用な出力を提供するために、JavaScript toJSON() メソッドをオーバーライドします。 (次に、JSON.stringify渡されたオブジェクトの toJSON メソッドを呼び出します)。元の PowerPoint.Borders オブジェクトが API オブジェクトであるのに対し、 toJSON メソッドは、元のオブジェクトから読み込まれた子プロパティの浅いコピーを含むプレーンな JavaScript オブジェクト ( PowerPoint.Interfaces.BordersData と型指定) を返します。

toJSON(): PowerPoint.Interfaces.BordersData;

返品