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 > AnnEditDesigner Class : AnnEditDesigner Constructor |
public AnnEditDesigner( 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 AnnEditDesigner(automationControl, container, annObject)
public AnnEditDesigner( IAnnAutomationControl automationControl, AnnContainer container, AnnObject annObject )
- (instancetype)initWithControl:(id<LTIAnnAutomationControl>)control
container:(LTAnnContainer *)container
object:(LTAnnObject *)annObject
public AnnEditDesigner(
IAnnAutomationControl automationControl,
AnnContainer container,
AnnObject annObject
)
function AnnEditDesigner( 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: it needs to have all of its stroke, fill and font properties set. Positioning parameters (such as the start and end points of a line) get set and updated as the user edits the object with this designer.