使用する単位 のレジストリ値 measurementunitsユーザーHKCU\software\policies\microsoft\office\16.0\word\options
- ポリシー ID
- L_Measurementunits
- 適用対象
- ユーザーの構成
- サポートされるバージョン
- Windows Server 2008 R2、Windows 7 またはそれ以降
- 出典
- Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
- カテゴリ
- Microsoft Word 2016 › Word のオプション › 詳細設定
レジストリ
measurementunits
REG_DWORDユーザー- 有効時の値
- オプションの値に依存
- 要素
- 単位の選択:
| 項目 | 保存される値 |
|---|---|
| インチ (in) | 0 |
| センチメートル (cm) | 2 |
| ミリメートル (mm) | 4 |
| ポイント (pt) | 1 |
| パイカ (pi) | 3 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\options] ; 選択項目 (1 つだけ使用) ; インチ (in) "measurementunits"=dword:00000000 ; センチメートル (cm) "measurementunits"=dword:00000002 ; ミリメートル (mm) "measurementunits"=dword:00000004 ; ポイント (pt) "measurementunits"=dword:00000001 ; パイカ (pi) "measurementunits"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用) :: インチ (in) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "measurementunits" /t REG_DWORD /d 0 /f :: センチメートル (cm) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "measurementunits" /t REG_DWORD /d 2 /f :: ミリメートル (mm) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "measurementunits" /t REG_DWORD /d 4 /f :: ポイント (pt) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "measurementunits" /t REG_DWORD /d 1 /f :: パイカ (pi) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "measurementunits" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Force | Out-Null # 選択項目 (1 つだけ使用) # インチ (in) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'measurementunits' -PropertyType DWord -Value 0 -Force | Out-Null # センチメートル (cm) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'measurementunits' -PropertyType DWord -Value 2 -Force | Out-Null # ミリメートル (mm) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'measurementunits' -PropertyType DWord -Value 4 -Force | Out-Null # ポイント (pt) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'measurementunits' -PropertyType DWord -Value 1 -Force | Out-Null # パイカ (pi) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'measurementunits' -PropertyType DWord -Value 3 -Force | Out-Null