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 > AnnRunDesigner Class : AnnRunDesigner Constructor |
public AnnRunDesigner( IAnnAutomationControl automationControl, AnnContainer container, AnnObject annObject )
'Declaration
Public 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 AnnRunDesigner(automationControl, container, annObject)
public AnnRunDesigner( IAnnAutomationControl automationControl, AnnContainer container, AnnObject annObject )
- (instancetype)initWithControl:(id<LTIAnnAutomationControl>)control
container:(LTAnnContainer *)container
object:(LTAnnObject *)annObject
public AnnRunDesigner(
IAnnAutomationControl automationControl,
AnnContainer container,
AnnObject annObject
)
function AnnRunDesigner( 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. If the various derived designers determine that the surface of the container needs repainting they call the Invalidate method to perform that. In turn, the Invalidate method whether there is a valid object in the AutomationControl, and call its AutomationInvalidate method.