PathItemの数値
プロパティ | 値の型 | 説明 |
---|---|---|
Height | Single | GeometricBounds に基づいて計算した PathItem の高さ(線の幅を除く)。 |
Width | Single | GeometricBounds に基づくPathItem の幅(線の幅を除く)。 |
Top | Single | PathItem の上端の位置。 |
Left | Single | PathItem の左側の位置。 |
GeometricBounds | Variant Array (of 4 Singles) | 線の幅を除くオブジェクトの境界。 |
なので「Height」や「Width」を使って条件判定する場合、
「Top」,「Left」よりも「GeometricBounds」を使ったほうが良い、かもね。
'GeometricBounds(0) : Left
'GeometricBounds(1) : Top
'GeometricBounds(2) : Right
'GeometricBounds(3) : Bottom