ActiveDocument.BeginSave Event Does Not Occur in IJCAD

Asked 2 years ago, Updated 2 years ago, 91 views

I use COM (C#) to start, draw, and end IJCAD 2015.

By the way, I can't get the following events, is there something wrong?

private void button_Click (object sender, EventArgse)
{ 
    app = new GcadApplication();
    app.Visible=true;
    app.ActiveDocument.BeginSave+=new_DGcadDocumentEvents_BeginSaveEventHandler(this.Save);
}

private void save (string fileName) 
{
    // event processing
    // (omitted)
}

.net ijcad

2022-09-30 20:10

1 Answers

When I asked the manufacturer about this matter a long time ago, they replied that IJCAD was defective.

I was told that .NET API can be avoided, so I solved it using .NET API.


2022-09-30 20:10

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.