←Select platform

FinalTargetObject Property

Summary
Gets the final target object for this designer.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual AnnObject FinalTargetObject { get; } 
@property (nonatomic, strong, readonly, nullable) LTAnnObject *finalTargetObject; 
public AnnObject getFinalTargetObject() 
public void setTargetObject(AnnObject object) 
public:  
   virtual property AnnObject^ FinalTargetObject 
   { 
      AnnObject^ get() 
   } 
FinalTargetObject # get  (AnnDesigner) 

Property Value

The final target object for this designer. Default implementation is to return TargetObject.

Remarks

Some designers AnnTextReviewDrawDesigner use a rectangle object when working and then remove it and replace it with the real AnnTextReviewObject object. This is because this designer derives from AnnRectangleEditDesigner that must use an AnnRectangleObject object. However, some parts of the automation framework require the real object that will be added to the container to be known in advance and this is accomplished by calling FinalTargetObject instead of TargetObject.

The automation object uses this value instead of TargetObject for certain operations such as firing the set cursor event in order for the application to customize the behavior based on the correct object type (AnnTextReviewObject in the example above and not AnnRectangleObject).

Requirements

Target Platforms

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

Leadtools.Annotations.Designers Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.