翻譯|使用教程|編輯:李顯亮|2020-12-29 10:41:14.617|閱讀 362 次
概述:本系列教程整理了VectorDraw Developer Framework(VDF)最常見問題,教程整理的很齊全,非常適合新手學習。本文將會介紹如何對圖層的實體進行排序,使其顯示在其他圖層的實體上方。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
相關鏈接:
VectorDraw Developer Framework(VDF)是一個用于應用程序可視化的圖形引擎庫。有了VDF提供的功能,您可以輕松地創建、編輯、管理、輸出、輸入和打印2D和3D圖形文件。該庫還支持許多矢量和柵格輸入和輸出格式,包括本地PDF和SVG導出。
點擊下載VectorDraw Developer Framework
問:如何在不顯示命令行的情況下使用PostCommandExecute?
答:您可以使用在此表單中不可見的vdCommandLine.dll的形式添加命令行控件(vdComamndLine1),以便用戶無法使用它或查看它并使用CommandExecute事件并使用代碼:
public Form1() { InitializeComponent(); } protected override void OnLoad(EventArgs e) { // the form contains a VectorDRaw BaseControl named myVDBaseControl1 // and a vdCommendLine control that is not visible named vdCommandLine1 base.OnLoad(e); doc = myVDBaseControl1.ActiveDocument; vdCommandLine1.SelectDocument(doc); vdCommandLine1.CommandExecute += VdCommandLine1_CommandExecute; } private void VdCommandLine1_CommandExecute(string commandname, bool isDefaultImplemented, ref bool success) { if (string.Compare(commandname , "zoomw", true) == 0) { success = true; doc.CommandAction.Zoom("W", null, null); return; } } private void toolStripButton1_Click(object sender, EventArgs e) { vdCommandLine1.PostExecuteCommand("zoomw");
=======================================================
如果您對想要購買正版授權VectorDraw Developer Framework(VDF),可以聯系咨詢相關問題。
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn