←Select platform

AnnDrawDesigner Constructor

Summary

Initializes a new instance of an AnnDrawDesigner object with the specified parameters.

Syntax
C#
VB
Objective-C
C++
Java
Protected Function New( _ 
   ByVal automationControl As IAnnAutomationControl, _ 
   ByVal container As AnnContainer, _ 
   ByVal annObject As AnnObject _ 
) 
- (instancetype)initWithControl:(id<LTIAnnAutomationControl>)control 
                      container:(LTAnnContainer *)container 
                         object:(LTAnnObject *)annObject 
protected AnnDrawDesigner(IAnnAutomationControl automationControl, AnnContainer container, AnnObject annObject) 

Parameters

automationControl
The automation control associated with this designer.

container
The container to use.

annObject
The target object.

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly