(Leadtools.Annotations.Designers)

AnnDesigner Constructor (AnnDesigner)

Show in webframe





The automation control associated with this designer.
The container to use. Must not be null.
The target object.
Initializes a new instance of AnnDesigner with the specified parameters.
Syntax
protected AnnDesigner( 
   IAnnAutomationControl automationControl,
   AnnContainer container,
   AnnObject annObject
)
Protected Function New( _
   ByVal automationControl As IAnnAutomationControl, _
   ByVal container As AnnContainer, _
   ByVal annObject As AnnObject _
)
protected AnnDesigner( 
   IAnnAutomationControl automationControl,
   AnnContainer container,
   AnnObject annObject
)
-(id) initWithControl:(id<LTIAnnAutomationControl>) control 
            container:(LTAnnContainer*) aContainer 
               object:(LTAnnObject*) annObject;
            
protected AnnDesigner(IAnnAutomationControl automationControl,
                      AnnContainer container, 
                      AnnObject annObject)
            
function AnnDesigner( 
   automationControl ,
   container ,
   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 Leadtools.Annotations.Core.IAnnAutomationControl.AutomationInvalidate(Leadtools.LeadRectD) method.

Requirements

Target Platforms

See Also

Reference

AnnDesigner Class
AnnDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.