LEADTOOLS Annotations (Leadtools.Annotations assembly)

Owner Property

Show in webframe





Gets or sets the owner control for this AnnDesigner.
Syntax
public virtual Control Owner {get; set;}
'Declaration
 
Public Overridable Property Owner As Control
'Usage
 
Dim instance As AnnDesigner
Dim value As Control
 
instance.Owner = value
 
value = instance.Owner

            

            
public:
virtual property Control^ Owner {
   Control^ get();
   void set (    Control^ value);
}

Property Value

The owner System.Windows.Forms.Control object for this AnnDesigner.
Remarks

The owner control is the control object which the AnnDesigner will use during the designing of the AnnObject. The LEADTOOLS annotation framework uses an Leadtools.WinForms.RasterImageViewer object for this value.

To annotate your own control that implements IAnnAutomationControl, you must assign your control to the AutomationControl property and leave the value of Owner to be the default of null.

Note: In LEADTOOLS v17 and later, the framework uses an internal class that implements IAnnAutomationControl even when the automation is using the standard LEADTOOLS Leadtools.WinForms.RasterImageViewer class, so the value of Owner will always be null, instead, obtain the control being automated using the AutomationControl property.

Refer to IAnnAutomationControl for an example on how to use LEADTOOLS annotations with your own controls.

Example
For an example, refer to AnnDesigner.
Requirements

Target Platforms

See Also

Reference

AnnDesigner Class
AnnDesigner Members

 

 


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