←Select platform

AnnDesigner Constructor

Summary
Initializes a new instance of AnnDesigner with the specified parameters.
Syntax
C#
VB
Objective-C
C++
Java
Protected Function New( _ 
   ByVal automationControl As IAnnAutomationControl, _ 
   ByVal container As AnnContainer, _ 
   ByVal annObject As AnnObject _ 
) 
- (instancetype)initWithControl:(id<LTIAnnAutomationControl>)control 
                      container:(LTAnnContainer *)container 
                         object:(LTAnnObject *)annObject 
protected AnnDesigner(IAnnAutomationControl automationControl, 
                      AnnContainer container,  
                      AnnObject annObject) 

Parameters

automationControl
The automation control associated with this designer.

container
The container to use. Must not be null.

annObject
The target object.

Remarks

This method sets the container to the Container property and the annObject to the TargetObject property. automationControl is optional and can be null. The various derived designers may determine that the surface of the container needs repainting and will call the Invalidate method to perform that. In turn, the Invalidate method will determine if there is a valid object in the AutomationControl and call its AutomationInvalidate method.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.