收到取消传递集文件处理的请求时触发。 支持的平台:仅窗口 Namespace:传输利布 组装:acETransmit20.tlb 签名VB.NET: Friend Class custom_class_name Implements TransmittalProgressHandler Public Sub isCanceled(ByRef cancelled As Integer) _ Implements ITransmittalProgressHandler.isCanceled ... End Sub End Class C#: internal class custom_class_name : TransmittalProgressHandler { public void isCanceled(out int cancelled) { ... } }
返回值(RetVal)无返回值。 言论没有额外的评论。 发布信息释放:AutoCAD 2005 及更高版本 例子VB.NET: Friend Class MyProgressHandler Implements TransmittalProgressHandler Public Sub isCanceled(ByRef cancelled As Integer) _ Implements TRANSMITTALLib.ITransmittalProgressHandler.isCanceled Application.DocumentManager.MdiActiveDocument.Editor. _ WriteMessage(Environment.NewLine & "Transmital process cancelled status") End Sub End Class C#: internal class MyProgressHandler : TransmittalProgressHandler { public void isCanceled(out int cancelled) { Application.DocumentManager.MdiActiveDocument.Editor. WriteMessage(Environment.NewLine + "Transmital process cancelled status"); cancelled = 0; } } |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:19
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.