←Select platform

AnnDesigner Constructor

Summary
Initializes a new instance of AnnDesigner with the specified parameters.
Syntax
C#
Objective-C
C++/CLI
Java
Python
- (instancetype)initWithControl:(id<LTIAnnAutomationControl>)control 
                      container:(LTAnnContainer *)container 
                         object:(LTAnnObject *)annObject 
protected AnnDesigner(IAnnAutomationControl automationControl, 
                      AnnContainer container,  
                      AnnObject annObject) 
__init__(self,automationControl,container,annObject) # Overloaded constructor 

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 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.