Journal of Liaoning Petrochemical University

Journal of Liaoning Petrochemical University ›› 2013, Vol. 33 ›› Issue (4): 87-90.

Previous Articles     Next Articles

 
The Adaptive Method of Image Control Menu Based on ACAD

 

LAN Xiaomin, WANG Shengzhi
  

  1.  
    1.Mechanical Engineering Institute, Liaoning Shihua University, Fushun Liaoning 113001,China; 
    2.College of Petroleum Engineering,Liaoning Shihua University,Fushun Liaoning 113001,China
  • Received:2013-01-05 Published:2013-12-25 Online:2017-07-14

基于ACAD图像控件菜单的自适应方法

蓝晓民,王盛智   

  1. (1.辽宁石油化工大学机械学院,辽宁抚顺113001;2.辽宁石油化工大学石油与天然气工程学院,辽宁抚顺113001
  • 作者简介:蓝晓民(1960-),男(畲),浙江青田县,教授

Abstract:  

The problems of screen resolution affecting the image size about the image control menu for the secondary development of AutoCAD were analyzed. The factors related to the size of the image control menu were found, and a method of adaptive screen resolution by image control menu was put forward. By writing the VisualLISP program, the image control menu size could automatically be adjusted according to the screen resolution, and the problems of the image control menu for the secondary development of AutoCAD were solved.

Key words: Image control menu ,  , Screen resolution ,  , Adaptive ,  , AutoCAD ,  , VisualLISP program

摘要: 针对AutoCAD二次开发中,图像控件菜单存在的图像大小受屏幕分辨率影响的问题,分析了不同的
屏幕分辨率对图像控件菜单大小的影响,找出了影响图像控件菜单大小的相关因素,提出一种图像控件菜单自适应
屏幕分辨率的方法。通过编写的VisualLISP程序,用户开发的应用程序能够根据屏幕分辨率自动调整图像控件菜
单的尺寸,解决了应用AutoCAD二次开发中图像控件菜单存在的问题。

关键词: 图像控件菜单 , 屏幕分辨率 , 自适应 , AutoCAD , VisualLISP 程

Cite this article

LAN Xiaomin, WANG Shengzhi.  

The Adaptive Method of Image Control Menu Based on ACAD
[J]. Journal of Liaoning Petrochemical University, 2013, 33(4): 87-90.

蓝晓民,王盛智. 基于ACAD图像控件菜单的自适应方法[J]. 辽宁石油化工大学学报, 2013, 33(4): 87-90.

share this article

0
    /   /   Recommend

Add to citation manager EndNote|Ris|BibTeX

URL: http://journal.lnpu.edu.cn/EN/

         http://journal.lnpu.edu.cn/EN/Y2013/V33/I4/87