←Select platform

AutomationImageWidth Property

Summary

Gets the width of the image being annotated in pixels.

Syntax

C#
VB
C++
public float AutomationImageWidth { get; } 
  
ReadOnly Property AutomationImageWidth As Single 
property float AutomationImageWidth { 
   float get(); 
} 

Property Value

A System.Single that represents the width of the image being annotated in pixels.

Remarks

The width of the image being annotated in pixels. Usually you will return the width of the image you are using in AutomationRasterImage (RasterImage.ImageWidth), however, since you do not need to implement that property and can safely return null in some case, you must always manually implement AutomationImageWidth to return the image width in pixels. In this case, the width of the virtual image you will be using in automation. You must trigger the IAnnAutomationControl.AutomationImageChanged event when the value of this property is changed.

Example

For an example, refer to IAnnAutomationControl.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly