横断抽出ライン スタイルを作成する

横断抽出ラインを作成するときには、その表示方法を制御する 3 種類のスタイル オブジェクトを使用する必要があります。

グループ プロット スタイル

AeccGroupPlotStyle スタイルは、横断ビュー グラフのグループの描画方法を制御します。 このスタイルによって、行と列の方向、および複数のグラフの間隔を変更します。すべての AeccGroupPlotStyle スタイルのコレクションは、AeccDocument.GroupPlotStyles プロパティに格納されます。

Dim oGroupPlotStyle As AeccGroupPlotStyle
Set oGroupPlotStyle = oDocument.GroupPlotStyles _
  .Add("Example group plot style")

横断抽出ライン スタイル

AeccSampleLineStyle スタイルは、横断抽出ラインのサーフェス上での描画方法を制御します。 すべての AeccSampleLineStyle スタイルのコレクションは、AeccDocument.SampleLineStyles プロパティに格納されます。

Dim oSampleLineStyle As AeccSampleLineStyle
Set oSampleLineStyle = oDocument.SampleLineStyles _
  .Add("Example sample line style")
 
' This style just changes the display of the sample line.
oSampleLineStyle.LineDisplayStyleSection.color = 140 ' slate

横断スタイル

AeccSectionStyle スタイルは、横断ビュー グラフでのサーフェス横断の表示方法を制御します。 すべての AeccSectionStyle スタイルのコレクションは、AeccDocument.SectionStyles プロパティに格納されます。

Dim oSectionStyle As AeccSectionStyle
Set oSectionStyle = oDocument.SectionStyles _
  .Add("Example cross section style")
 
' This style just changes the display of cross section
' lines.
oSectionStyle.SegmentDisplayStyleSection.color = 110 ' green/blue