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 > AnnDrawDesigner Class : AnnDrawDesigner Constructor |
protected AnnDrawDesigner( 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 AnnDrawDesigner(automationControl, container, annObject)
protected AnnDrawDesigner( IAnnAutomationControl automationControl, AnnContainer container, AnnObject annObject )
- (instancetype)initWithControl:(id<LTIAnnAutomationControl>)control
container:(LTAnnContainer *)container
object:(LTAnnObject *)annObject
protected AnnDrawDesigner(IAnnAutomationControl automationControl, AnnContainer container, AnnObject annObject)
function AnnDrawDesigner( automationControl , container , annObject )
This method sets the container to the Container property and the annObject to the TargetObject property.
The annObject must be a valid annotation object. This object needs to have all its stroke, fill and font properties set. The positioning parameters (such as the start and end point of a line) are set and updated as the user draws the object with this designer.