| 4D View v15PV GET BORDER STYLE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D View v15
 PV GET BORDER STYLE 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PV GET BORDER STYLE ( area ; edge ; style ; color ) | ||||||||
| 引数 | 型 | 説明 | ||||||
| area | 倍長整数 |   | 4D View エリア | |||||
| edge | 倍長整数 |   | 枠線の辺 | |||||
| style | 倍長整数 |   | 枠線のスタイル | |||||
| color | 倍長整数 |   | 枠線の色 | |||||
PV GET BORDER STYLEコマンドは、4D View areaの枠線のedge に設定されたstyle とcolor を取得します。
引数edge の指定には、PV Border edge定数を使用します。
| 定数 | 型 | 値 | 
| pv border edge bottom | 倍長整数 | 8 | 
| pv border edge inner hor | 倍長整数 | 16 | 
| pv border edge inner vert | 倍長整数 | 32 | 
| pv border edge left | 倍長整数 | 1 | 
| pv border edge right | 倍長整数 | 4 | 
| pv border edge top | 倍長整数 | 2 | 
引数style に返される値は、PV Border style定数の値に相当します。
| 定数 | 型 | 値 | 
| pv border style 1 | 倍長整数 | 1 | 
| pv border style 111 | 倍長整数 | 7 | 
| pv border style 112 | 倍長整数 | 9 | 
| pv border style 2 | 倍長整数 | 2 | 
| pv border style 211 | 倍長整数 | 8 | 
| pv border style 212 | 倍長整数 | 10 | 
| pv border style 222 | 倍長整数 | 11 | 
| pv border style 232 | 倍長整数 | 12 | 
| pv border style 3 | 倍長整数 | 3 | 
| pv border style 4 | 倍長整数 | 4 | 
| pv border style 5 | 倍長整数 | 5 | 
| pv border style 6 | 倍長整数 | 6 | 
| pv border style half | 倍長整数 | 14 | 
| pv border style none | 倍長整数 | 0 | 
| pv border style quarter | 倍長整数 | 13 | 
詳細はPV SET BORDER STYLEコマンドの説明を参照してください。
4D Viewエリア内のあるデータ範囲に設定された枠線スタイルが、あなたの希望するものであるかどうかを検証します (PV SET BORDER STYLEコマンドを参照)。実際にはどこにも枠線を設定していない点に注意してください。次のコードを実行すると、PV SET RANGE BORDERコマンドで作成しようとする枠線の設定を変更するだけです。
 C_LONGINT($Style;$Color) `スタイル属性</p>`スタイル情報を取得
 PV GET BORDER STYLE(Area;pv border edge bottom;$Style;$Color)
 
  `希望するスタイルか?
 If(Style#pv border style 111)|($Color#PV Index to color(Light blue)) `希望していたスタイルではない
  `枠のスタイルと色
    PV SET BORDER STYLE(Area;pv border edge bottom;pv border style 111;PV Index to color(Light blue))
 End if
	プロダクト: 4D View
	テーマ: PV罫線
	番号: 
        15868
        
        
        
	
	初出: 4D View 6.8
	
	
	
	
	
	
	
	
	4D View ( 4D View v15)
	
	
	
	
	
	
	
 コメントを追加
コメントを追加