# DuEDrawingControl **Repository Path**: zhuhongfeng/DuEDrawingControl ## Basic Information - **Project Name**: DuEDrawingControl - **Description**: fork作者weianweigan的DuEDrawingControl项目到gitee - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-10-09 - **Last Updated**: 2025-11-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
![lang](https://img.shields.io/badge/language-csharp-green.svg) ![Github](https://img.shields.io/badge/Github-build-blue.svg?style=flat-square) ![Github](https://img.shields.io/badge/Nuget-v1.0.1-yellowgreen.svg?style=flat-square) # DuEDrawingControl [English]((https://github.com/weianweigan/DuEDrawingControl/blob/master/README.md)) | 中文 在Winform和wpf中使用的edrawing 控件。使用了c# dynamic 类型封装,这样就不需要引用edrawing的dll,不需要额外配置,直接引用便可以使用。 **Winform:**
增加测量按钮(2023.3.29)
**WPF**
**PreView Assembly Document**
**PreView Drawing Document**
**Print Document**
**Create ToolTip**
## 安装 ``` Install-Package DuEDrawingControlPlus -Version 1.0.3 ``` ## 使用 **1.需要安装eDrawing** **2.引用命名空间** ```csharp using DuEDrawingControl; ``` **3.将平台修改为x64**
**4.添加控件** ### Winform ```csharp private EDrawingView eDrawingView; private void Form1_Load(object sender, EventArgs e) { //add edrawing control when form loaded eDrawingView = new EDrawingView() { Dock = DockStyle.Fill }; paneleDrawing.Controls.Add(eDrawingView); } ``` Clone this repository for more ### WPF ```csharp private DuEDrawingControl.EDrawingWPFControl edrawing; public MainWindow() { InitializeComponent(); //Add edrawing control edrawing = new DuEDrawingControl.EDrawingWPFControl() { Margin = new Thickness(5) }; edrawingPanel.Children.Add(edrawing); } ``` Clone this repository for more ## 示例 ![](./icons/example.png) ## 实现的edrawing api ![api](./icons/api.png) ![api_Markup](./icons/api_Markup.png) ## Contact me 1831197727@qq.com