function AnnDesigner( automationControl , container , annObject )
Parameter | Type | Description |
---|---|---|
automationControl | IAnnAutomationControl | The automation control associated with this designer. |
container | AnnContainer | The container to use. Must not be null. |
annObject | AnnObject | The target object. |
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 Leadtools.Annotations.Core.IAnnAutomationControl.AutomationInvalidate(Leadtools.LeadRectD) method.