ホーム / モデリング / CGaudi / プロパティ / nDecimal
nDecimalプロパティ
定義
nDecimal As Long
| 値の取得 | ○ | |
| 値の設定 | ○ |
引数
ありません解説
ツールチップに表示される座標値等の数値の小数点以下の桁数を取得・設定します。実行例
Dim Femtet As New CFemtetDim Gaudi As CGaudi
'新規プロジェクト作成
If Femtet.OpenNewProject() = False Then
Femtet.ShowLastError
End If
'Femtet.Gaudiを変数Gaudiに代入して使いやすくする
Set Gaudi = Femtet.Gaudi
'数値の小数点以下の桁数を5桁に設定
Gaudi.nDecimal = 5
'数値の小数点以下の桁数を取得
MsgBox Gaudi.nDecimal


