OneNote で使用する既定の単位 のレジストリ値 measurementunitユーザーHKCU\software\policies\microsoft\office\16.0\onenote\options\other

ポリシー ID
L_DefaultunitofmeasurementusedinOneNote
適用対象
ユーザーの構成
サポートされるバージョン
Windows Server 2008 R2、Windows 7 またはそれ以降
出典
Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
カテゴリ
Microsoft OneNote 2016 › OneNote のオプション › その他

レジストリ

measurementunit

REG_DWORDユーザー
有効時の値
オプションの値に依存
要素
既定の単位を指定してください:
オプション
項目保存される値
インチ0
cm1
mm2
ポイント3
パイカ4
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\onenote\options\other]

; 選択項目 (1 つだけ使用)
; インチ
"measurementunit"=dword:00000000
; cm
"measurementunit"=dword:00000001
; mm
"measurementunit"=dword:00000002
; ポイント
"measurementunit"=dword:00000003
; パイカ
"measurementunit"=dword:00000004
CMD
:: 選択項目 (1 つだけ使用)

:: インチ
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 0 /f
:: cm
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 1 /f
:: mm
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 2 /f
:: ポイント
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 3 /f
:: パイカ
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 4 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# インチ
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 0 -Force | Out-Null
# cm
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 1 -Force | Out-Null
# mm
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 2 -Force | Out-Null
# ポイント
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 3 -Force | Out-Null
# パイカ
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 4 -Force | Out-Null