Afmetingen weergeven in eenheden van: registerwaarde measurementunitsGebruikerHKCU\software\policies\microsoft\office\16.0\word\options

Beleids-ID
L_Measurementunits
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2008 R2 of Windows 7
Bron
Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
Categorie
Microsoft Word 2016 › Opties voor Word › Geavanceerd

Register

measurementunits

REG_DWORDGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Eenheden selecteren:
Opties
ItemOpgeslagen waarde
Inches0
Centimeters2
Millimeter4
Punten1
Pica's3
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\options]

; Opties (gebruik er maar één)
; Inches
"measurementunits"=dword:00000000
; Centimeters
"measurementunits"=dword:00000002
; Millimeter
"measurementunits"=dword:00000004
; Punten
"measurementunits"=dword:00000001
; Pica's
"measurementunits"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: Inches
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "measurementunits" /t REG_DWORD /d 0 /f
:: Centimeters
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "measurementunits" /t REG_DWORD /d 2 /f
:: Millimeter
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "measurementunits" /t REG_DWORD /d 4 /f
:: Punten
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "measurementunits" /t REG_DWORD /d 1 /f
:: Pica's
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "measurementunits" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Force | Out-Null

# Opties (gebruik er maar één)
# Inches
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'measurementunits' -PropertyType DWord -Value 0 -Force | Out-Null
# Centimeters
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'measurementunits' -PropertyType DWord -Value 2 -Force | Out-Null
# Millimeter
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'measurementunits' -PropertyType DWord -Value 4 -Force | Out-Null
# Punten
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'measurementunits' -PropertyType DWord -Value 1 -Force | Out-Null
# Pica's
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'measurementunits' -PropertyType DWord -Value 3 -Force | Out-Null