Unità di misura predefinita utilizzata in OneNote: valore del Registro di sistema measurementunitUtenteHKCU\software\policies\microsoft\office\16.0\onenote\options\other

ID criterio
L_DefaultunitofmeasurementusedinOneNote
Ambito
Configurazione utente
Supportato in
Almeno Windows Server 2008 R2 o Windows 7
Origine
Microsoft 365 Apps / Office Administrative Templates (versione 5568.1000)
Categoria
Microsoft OneNote 2016 › Opzioni di OneNote › Altro

Registro

measurementunit

REG_DWORDUtente
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Specificare l'unità di misura predefinita:
Opzioni
VoceValore memorizzato
Pollici0
Centimetri1
Millimetri2
Punti3
Pica4
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Pollici
"measurementunit"=dword:00000000
; Centimetri
"measurementunit"=dword:00000001
; Millimetri
"measurementunit"=dword:00000002
; Punti
"measurementunit"=dword:00000003
; Pica
"measurementunit"=dword:00000004
CMD
:: Opzioni (usarne solo una)

:: Pollici
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 0 /f
:: Centimetri
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 1 /f
:: Millimetri
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 2 /f
:: Punti
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 3 /f
:: Pica
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 4 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Force | Out-Null

# Opzioni (usarne solo una)
# Pollici
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 0 -Force | Out-Null
# Centimetri
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 1 -Force | Out-Null
# Millimetri
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 2 -Force | Out-Null
# Punti
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 3 -Force | Out-Null
# Pica
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 4 -Force | Out-Null