角度 的登錄值 measurementsystem_angle使用者HKCU\software\policies\microsoft\office\16.0\visio\document

原則 ID
L_Angle
適用範圍
使用者設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Visio 2016 › Visio 選項 › 進階 › 顯示

登錄

measurementsystem_angle

REG_SZ使用者
啟用時的值
取決於選項值
元素
角度
選項
項目儲存的值
度81
度-分-秒82
分-秒84
秒85
弧度83
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\visio\document]

; 選項 (只使用其中一個)
; 度
"measurementsystem_angle"="81"
; 度-分-秒
"measurementsystem_angle"="82"
; 分-秒
"measurementsystem_angle"="84"
; 秒
"measurementsystem_angle"="85"
; 弧度
"measurementsystem_angle"="83"
CMD
:: 選項 (只使用其中一個)

:: 度
reg add "HKCU\software\policies\microsoft\office\16.0\visio\document" /v "measurementsystem_angle" /t REG_SZ /d 81 /f
:: 度-分-秒
reg add "HKCU\software\policies\microsoft\office\16.0\visio\document" /v "measurementsystem_angle" /t REG_SZ /d 82 /f
:: 分-秒
reg add "HKCU\software\policies\microsoft\office\16.0\visio\document" /v "measurementsystem_angle" /t REG_SZ /d 84 /f
:: 秒
reg add "HKCU\software\policies\microsoft\office\16.0\visio\document" /v "measurementsystem_angle" /t REG_SZ /d 85 /f
:: 弧度
reg add "HKCU\software\policies\microsoft\office\16.0\visio\document" /v "measurementsystem_angle" /t REG_SZ /d 83 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Force | Out-Null

# 選項 (只使用其中一個)
# 度
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Name 'measurementsystem_angle' -PropertyType String -Value '81' -Force | Out-Null
# 度-分-秒
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Name 'measurementsystem_angle' -PropertyType String -Value '82' -Force | Out-Null
# 分-秒
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Name 'measurementsystem_angle' -PropertyType String -Value '84' -Force | Out-Null
# 秒
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Name 'measurementsystem_angle' -PropertyType String -Value '85' -Force | Out-Null
# 弧度
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Name 'measurementsystem_angle' -PropertyType String -Value '83' -Force | Out-Null