CAD开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

ActiveX 开发指南

相关分类

密码属性 (ActiveX)

2023-1-2 22:13| 发布者: admin| 查看: 194| 评论: 0|来自: AutoCAD

摘要: 指定加密密码。(已过时)

指定加密密码。(已过时)

支持的平台:仅窗口

签名

工 务 局:

object.Password
对象

类型:安全参数

此属性适用的对象。

属性值

只读:

类型:字符串

加密密码。

言论

注意:从基于 AutoCAD-2016 的产品开始,使用密码保护图形文件的功能已停止使用。

例子

工 务 局:

Sub Example_Password()
    ' This example opens a password-protected file, closes it, and then opens another
    ' password-protected file.

    ThisDrawing.Application.Documents.Open "C:\MyDrawing.dwg", , "MYPASSWORD"
    'AutoCAD converts all passwords to uppercase before applying them

    ThisDrawing.Close

    ThisDrawing.Application.Documents.Open "C:\MyDrawing2.dwg", , "MYSECONDPASSWORD"
End Sub

Visual LISP:

Not available

路过

雷人

握手

鲜花

鸡蛋

最新评论

QQ|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 )

GMT+8, 2024-5-19 13:21

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部