BeginFilesGraphCreation 方法 (ActiveX/ATO) 
在将新节点添加到传递集的文件图时触发。 支持的平台:仅限 Windows 命名空间:传输塔利布 程序集: 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 Class
 
  C#: 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 Class
 
  C#: // 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)
GMT+8, 2025-11-4 19:20
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.