Default unit of measurement used in OneNote: wartość rejestru measurementunitUżytkownikHKCU\software\policies\microsoft\office\16.0\onenote\options\other

Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)

Identyfikator zasady
L_DefaultunitofmeasurementusedinOneNote
Zakres
Konfiguracja użytkownika
Obsługiwane w systemach
System Windows Server 2008 R2 lub nowszy albo system Windows 7
Źródło
Microsoft 365 Apps / Office Administrative Templates (wersja 5568.1000)
Kategoria
Microsoft OneNote 2016 › OneNote Options › Other

Rejestr

measurementunit

REG_DWORDUżytkownik
Wartość włączona
Zależy od wartości opcji
Element
Specify default unit of measurement:
Opcje
PozycjaZapisana wartość
Inch0
Centimeter1
Millimeter2
Point3
Pica4
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Inch
"measurementunit"=dword:00000000
; Centimeter
"measurementunit"=dword:00000001
; Millimeter
"measurementunit"=dword:00000002
; Point
"measurementunit"=dword:00000003
; Pica
"measurementunit"=dword:00000004
CMD
:: Opcje (użyj tylko jednej)

:: Inch
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 0 /f
:: Centimeter
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 1 /f
:: Millimeter
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 2 /f
:: Point
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
# Wspólne: utwórz klucz
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Inch
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 0 -Force | Out-Null
# Centimeter
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 1 -Force | Out-Null
# Millimeter
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 2 -Force | Out-Null
# Point
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