外文翻译---在PowerBuilder中处理图片文件的方法研究
《外文翻译---在PowerBuilder中处理图片文件的方法研究》由会员分享,可在线阅读,更多相关《外文翻译---在PowerBuilder中处理图片文件的方法研究(11页珍藏版)》请在毕设资料网上搜索。
1、PDF外文:http:/ 2696 字 出处: Computer Science and Information Technology, 2009. ICCSIT 2009. 2nd IEEE International Conference on. IEEE, 2009: 405-407 翻译部分 英文原文 Study on method of picture files processing in PowerBuilder Jia Yinjiang Zhang Tiejun Zhao Junying Abstract Pictures are one o
2、f the important elements of which the application is composed. A programmer is able to choose suitable treatment according to the system requirement. In PowerBuilder picture control and ole control are the most commonly-used methods; blob data type field is used to access picture files in database a
3、nd function of data window is used to display pictures dynamically. Each method has its own characteristics and application conditions. This article discusses and explores the methods of storage and display of picture files in PowerBuilder. Keywords: Blob Data Type; Picture Control; Picture Pr
4、ocessing I. INTRODUCTION Pictures are composed of an important element in the application. Flexibility in the use of the picture will make the procedure more attractive. Method of picture files processing mainly includes picture storage, display and update, etc. PowerBuilder in access the database a
5、nd data processing has a very strong function but weak in picture storage and display. As long as we master some commonly-used development skills, we will be able to solve picture processing problem well in the practical application. Pictures stored in the form of file can be displayed with pi
6、cture control or ole control; pictures stored in the database,a blob data type field needed to be defined and picture data is operated with binary large object command. In addition to the above two methods, pictures also can be displayed dynamically by using of the modify function of data window.Eac
7、h method has its own characteristics and application conditions. This article discusses and explores the methods of storage and display of picture files in PowerBuilder. II. DISPLAY OF PICTURE FILES A. Picture Display by Use of Picture Control In PowerBuilder using picture control is common method t
8、o display the picture. It supports the picture of the types include BMP, JPG, GIF, RLE, WMF, etc. The following methods can be used to display pictures: First, place a picture control in the window and specify the selected picture by setting its "picture name" static property. Second, disp
9、lay a picture by setting its property in the script, for example, the script displaying picture file “jack.jpg” under the specified path is p_1.picturename=”d:studentpicjack.jpg”. The above two methods are used to display the absolute path of the picture ways, the disadvantage is that pictures may n
10、ot be able to display correctly because of the path problem after system migration. Third, display pictures by setting relative path to solve the problem of the absolute path, modify script code for the p_1.picturename=”.picjack.jpg”, we should pay attention to the difference between the two methods
11、, thus, pictures will not be disappeared after system migration. B. Picture Display by Use of Ole Control Ole is the abbreviation of object linking and embedding and realize through remote call, it is used to transferinformation from one application to another at a computer.Ole control is the contai
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中设计图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 外文 翻译 powerbuilder 处理 图片 文件 方法 法子 研究 钻研
