LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

AutomationImageChanged Event






An event that triggers whenever the properties of the image being automated is changed.
Syntax
event EventHandler AutomationImageChanged
'Declaration
 
Event AutomationImageChanged As EventHandler
'Usage
 
Dim instance As IAnnAutomationControl
Dim handler As EventHandler
 
AddHandler instance.AutomationImageChanged, handler
event EventHandler AutomationImageChanged
add_AutomationImageChanged(function(sender, e))
remove_AutomationImageChanged(function(sender, e))

event EventHandler^ AutomationImageChanged
Remarks

If you are using a Leadtools.RasterImage object, then you trigger this event whenever the RasterImage.Changed event occures. Note that this event should occur when the image physical properties has changed, for example, its width/height or resolution or when a new image is set in your control (if supported) and not when the pixel data of the image has changed which only requires a re-paint. For these changes, use the IAnnAutomationControl.AutomationPaint event. If your requirement does not have an image that will be changed while being automated, then you do not have to trigger this event. When this event triggers, the automation object will query the IAnnAutomationControl.AutomationImageWidth, IAnnAutomationControl.AutomationImageHeightIAnnAutomationControl.AutomationImageDpiX and IAnnAutomationControl.AutomationImageDpiY properties to recalculate the size of the container.

Example
For an example, refer to IAnnAutomationControl.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IAnnAutomationControl Interface
IAnnAutomationControl Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.