Leadtools.Annotations.Automationアセンブリ > Leadtools.Annotations.Automation名前空間 > AnnAutomationクラス :AnnAutomationコンストラクタ |
public AnnAutomation( AnnAutomationManager automationManager, IAnnAutomationControl automationControl )
'Declaration
Public Function New( _ ByVal automationManager As AnnAutomationManager, _ ByVal automationControl As IAnnAutomationControl _ )
public AnnAutomation( AnnAutomationManager automationManager, IAnnAutomationControl automationControl )
-(id) initWithManager:(LTAnnAutomationManager*) automationManager automationControl:(NSObject<LTIAnnAutomationControl>*) automationControl;
public AnnAutomation(
AnnAutomationManager automationManager,
IAnnAutomationControl automationControl
)
function AnnAutomation( automationManager , automationControl )
このコンストラクタは、AnnAutomationクラスの新しいインスタンスを作成して、ユーザーインターフェースを処理するためにビューワで必要なイベントにフックして、アノテーションオブジェクトを保持するAnnContainerを作成して、オートメーションコレクションに最後にこの新しく作成されたAnnAutomationObjectを追加します。
このコンストラクタはAttachを呼び出します。
サンプルのために、参照しますFindObjectById。