翻譯|使用教程|編輯:李顯亮|2020-12-29 10:41:14.617|閱讀 362 次
概述:本系列教程整理了VectorDraw Developer Framework(VDF)最常見(jiàn)問(wèn)題,教程整理的很齊全,非常適合新手學(xué)習(xí)。本文將會(huì)介紹如何對(duì)圖層的實(shí)體進(jìn)行排序,使其顯示在其他圖層的實(shí)體上方。
# 界面/圖表報(bào)表/文檔/IDE等千款熱門(mén)軟控件火熱銷售中 >>
相關(guān)鏈接:
VectorDraw Developer Framework(VDF)是一個(gè)用于應(yīng)用程序可視化的圖形引擎庫(kù)。有了VDF提供的功能,您可以輕松地創(chuàng)建、編輯、管理、輸出、輸入和打印2D和3D圖形文件。該庫(kù)還支持許多矢量和柵格輸入和輸出格式,包括本地PDF和SVG導(dǎo)出。
點(diǎn)擊下載VectorDraw Developer Framework
問(wèn):如何在不顯示命令行的情況下使用PostCommandExecute?
答:您可以使用在此表單中不可見(jiàn)的vdCommandLine.dll的形式添加命令行控件(vdComamndLine1),以便用戶無(wú)法使用它或查看它并使用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");
=======================================================
如果您對(duì)想要購(gòu)買正版授權(quán)VectorDraw Developer Framework(VDF),可以聯(lián)系咨詢相關(guān)問(wèn)題。
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請(qǐng)務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請(qǐng)郵件反饋至chenjj@fc6vip.cn