/DuEDrawingControl

eDrawing controls used in Winform and WPF

Primary LanguageC#GNU General Public License v3.0GPL-3.0

lang Github Github

DuEDrawingControl

English | Chinese

eDrawing Controls for Winform and WPF

Winform:

Add a measure button(2023.3.29)

WPF

PreView Assembly Document

PreView Drawing Document

Print Document

Create ToolTip

Install

Install-Package DuEDrawingControl -Version 1.0.1

Usage

1.eDrawing Required

2.NameSpace

using DuEDrawingControl;

3.Modify the platform as X64

4.Add Control

Winform

        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

        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

Example

Api List

api

api_Markup

Contact me

1831197727@qq.com