Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Designers Assembly > Leadtools.Annotations.Designers Namespace > AnnDesigner Class : AnnDesigner Constructor |
protected AnnDesigner( IAnnAutomationControl automationControl, AnnContainer container, AnnObject annObject )
'Declaration
Protected Function New( _ ByVal automationControl As IAnnAutomationControl, _ ByVal container As AnnContainer, _ ByVal annObject As AnnObject _ )
'Usage
Dim automationControl As IAnnAutomationControl Dim container As AnnContainer Dim annObject As AnnObject Dim instance As New AnnDesigner(automationControl, container, annObject)
protected AnnDesigner( IAnnAutomationControl automationControl, AnnContainer container, AnnObject annObject )
- (instancetype)initWithControl:(id<LTIAnnAutomationControl>)control
container:(LTAnnContainer *)container
object:(LTAnnObject *)annObject
protected AnnDesigner(IAnnAutomationControl automationControl,
AnnContainer container,
AnnObject annObject)
function AnnDesigner( automationControl , container , annObject )
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.