| 将新节点添加到传递集的文件图时触发。 支持的平台:仅窗口 Namespace:传输利布 组装:acETransmit20.tlb 签名VB.NET: Friend Class custom_class_name
    Implements TransmittalAddFileNotificationHandler
    Public Sub beginFilesGraphCreation(pTransmit As TRANSMITTALLib.TransmittalOperation) _
        Implements TRANSMITTALLib.ITransmittalAddFileNotificationHandler.beginFilesGraphCreation
        ...
    End Sub
End ClassC#: internal class custom_class_name : TransmittalAddFileNotificationHandler
{
    public void beginFilesGraphCreation(TRANSMITTALLib.TransmittalOperation pTransmit)
    {
        ...
    }
}
 返回值(RetVal)无返回值。 言论没有额外的评论。 发布信息释放:AutoCAD 2004 及更高版本 例子VB.NET: ' Custom class used to monitor files being added to the transmittal package
Friend Class MyTransFileNotifier
    Implements TransmittalAddFileNotificationHandler
    Public Sub beginFilesGraphCreation(pTransmit As TRANSMITTALLib.TransmittalOperation) _
        Implements TRANSMITTALLib. _
           ITransmittalAddFileNotificationHandler.beginFilesGraphCreation
        Application.DocumentManager.MdiActiveDocument.Editor. _
            WriteMessage(Environment.NewLine & "File graph being created.")
    End Sub
End ClassC#: // Custom class used to monitor files being added to the transmittal package
internal class MyTransFileNotifier : TransmittalAddFileNotificationHandler
{
    public void beginFilesGraphCreation(TRANSMITTALLib.TransmittalOperation pTransmit)
    {
        Application.DocumentManager.MdiActiveDocument.Editor.
            WriteMessage(Environment.NewLine + "File graph being created.");
    }
} | 
 |Archiver|CAD开发者社区
( 苏ICP备2022047690号-1   苏公网安备32011402011833)
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1   苏公网安备32011402011833)
GMT+8, 2025-10-31 14:32
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.