![]() |
| サイトマップ | |
|
トップ | オブジェクト | プロパティ | メソッド | 定数 |
DropLines プロパティ |
オブジェクト:Plot
Plot オブジェクトの DropLines コレクションを返します。DropLines コレクションの各 Line オブジェクトには、標準的な Line プロパティが用意されています。DropLines コレクションから特定のドロップラインセットを取得するには、以下に示すインデックスを使用します。
1 | xy plane (SLA_FLAG_DROPZ , 3D graphs only) |
2 | Y axis/x direction or yz plane (SLA_FLAG_DROPX) |
3 | X axis/y direction or zx plane (SLA_FLAG_DROPY) |
ドロップラインのプロパティの中には、Plot オブジェクトから制御できるものがあります。例えば、Plot オブジェクトの SetAttribute(SLA_PLOTOPTIONS, SLA_FLAG_DROPX Or FLAG_SET_BIT) メソッドを使えば、Y 軸のドロップラインを表示できます。ドロップラインのその他のプロパティは、Line オブジェクトの属性を使用します。
Dim SPPlot As Object, SPDropLines As Object Set SPPlot = ActiveDocument.CurrentPageItem.GraphPages(0).Graphs(0).Plots(0) Set SPDropLines = SPPlot.DropLines SPPlot.SetAttribute(SLA_PLOTOPTIONS,SLA_FLAG_DROPZ Or FLAG_SET_BIT) SPDropLines(1).Color = RGB_GRAY
Dim SPPlot As Object, SPDropLines As Object Set SPPlot = ActiveDocument.CurrentPageItem.GraphPages(0).Graphs(0).Plots(0) Set SPDropLines = SPPlot.DropLines SPPlot.SetAttribute(SLA_PLOTOPTIONS,SLA_FLAG_DROPX Or FLAG_SET_BIT) SPDropLines(3).SetAttribute(SEA_LINETYPE,SEA_LINE_DOTTED)