Click or drag to resize

ImageView Class

Caution note Caution
This API is preliminary and subject to change.
Inheritance Hierarchy

Namespace:  Kofax.OmniPageCSDK.ToolBoxes
Assembly:  Kofax.OmniPageCSDK.ToolBoxes (in Kofax.OmniPageCSDK.ToolBoxes.dll) Version: 1.0.0.0
Syntax
public class ImageView : AxHost, ICmnVisual, 
	ICmnVisualUIHelper, ICmnVisualUIHelperCallbackEvents, IResourceProviderEvents

The ImageView type exposes the following members.

Constructors
  NameDescription
Public methodImageView
Initializes a new instance of the ImageView class
Top
Properties
  NameDescription
Public propertyActiveZone
This property sets or retrieves the index of the active zone - which displays the resizing handles - in the ImageView.
Public propertyArrowsVisible
Set this property to true to display the zone order arrows.
Public propertyAutoZoneColor
This property controls what color is used when painting process (auto) zones.
Public propertyBackColor
This property controls which color is used when painting the control background.
Public propertyBorderVisible
This property controls whether a thin 3D border will be displayed around the control or not.
Public propertyEnableCustomDrawing
Set this property to True in order to enable custom view drawing.
Public propertyEnableDrag
Caution note Caution
This API is preliminary and subject to change.
Public propertyEnablePrintDialog
Use this property to force the Print dialog box to be displayed when initiating a print operation through the PrintImage method.
Public propertyEnableZoneChange
This property controls whether the existing zone set can or cannot be modified.
Public propertyEnableZoneCreating
This property controls whether creating a new zone is allowed in the ImageView or not.
Public propertyFormZoneColor
This property controls which color is used when painting form zones.
Public propertyIgnoreZoneColor
This property controls which color is used when painting ignore zones.
Public propertyImageZoneColor
This property controls which color is used when painting graphics zones.
Public propertyLargeToolbarButtons
Obsolete.
Public propertyLeftVerticalTextZoneColor
This property controls which color is used when painting left vertical text zones.
Public propertyMenuVisible
This property controls whether displaying context-sensitive popup menus is enabled or not. The default value for this property is True.
Public propertyOverviewVisible
This property controls whether the overview window is displayed or not.
Public propertyProgressIndicationVisible
This property controls whether the ImageView level recognition progress indication is enabled or not.
Public propertyRecommendedZoneVisible
This property controls whether the zone advisor is turned on or not.
Public propertyRightVerticalTextZoneColor
This property controls which color is used when painting right vertical text zones.
Public propertyScrollXPos
This property returns the current horizontal scroll position of the view in pixels.
Public propertyScrollYPos
This property returns the current vertical scroll position of the view in pixels.
Public propertyTableDividerColor
Caution note Caution
This API is preliminary and subject to change.
Public propertyTableZoneColor
This property controls which color is used when painting table zones.
Public propertyTextZoneColor
This property controls which color is used when painting text zones.
Public propertyToolbarVisible
This property controls whether the ImageView toolbar is displayed or not.
Public propertyTooltips
Use this property to update a number of toolbar button related tool tip texts if you wish to replace the default values.
Public propertyVerticalTextZoneColor
This property controls which color is used when painting vertical text zones.
Public propertyViewHeight
This property returns the current view height in pixels.
Public propertyViewWidth
This property returns the current view width in pixels.
Public propertyZonesVisible
This property controls whether the page zones are drawn or not on the image.
Public propertyZoom
This property controls the current zoom rate applied by the ImageView.
Top
Methods
  NameDescription
Public methodAttach
Use this method to attach the control to an existing document object.
Public methodConvDeviceToImg
Use this function to convert Device coordinates to Image (II_CURRENT) coordinates.
Public methodConvImgToDevice
Use this function to convert Image (II_CURRENT) coordinates to Device coordinates.
Public methodConvImgToView
Use this function to convert the Image (II_CURRENT) coordinates to View coordinates.
Public methodConvImgToWindow
Use this function to convert Image (II_CURRENT) coordinates to Window coordinates.
Public methodConvViewToImg
Use this function to convert the View coordinates to Image (II_CURRENT) coordinates.
Public methodConvWindowToImg
Use this function to convert Window coordinates to Image (II_CURRENT) coordinates.
Public methodDetach
Use this method to detach the control from an existing document.
Public methodEnsureVisible
Use this method to scroll a particular image rectangle into the view if it is not already visible.
Public methodExecuteCommand(Int32)
Executes control specific command if enabled programatically.
Public methodExecuteCommand(IVCTOOLBARBUTTON)
Use this method to force executing an ImageView command also available through the ImageView toolbar or popup menu.
Public methodGetCommandState(Int32, Boolean, Boolean)
Returns control specific command state as enabled or checked.
Public methodGetCommandState(IVCTOOLBARBUTTON, Boolean, Boolean)
Use this method to request information about a particular toolbar command.
Public methodGetMenu
Returns a full menu about its own commands.
Public methodGetMenuItems
Use this method to return which item is displayed on the menu in a given group.
Public methodGetMenuString
Returns control specific menu string to be displayed in a menu.
Public methodGetMessageString
Returns a detailed control specific menu string to be displayed in a menu.
Public methodGetToolbarButtons
Use this method to return which button is displayed on the menu in a given group.
Public methodHighlightRect
Use this method to frame a particular image rectangle.
Public methodInt_Attach
To attach the control to an existing IPRO object.
Public methodInt_Detach
To detach the control from an existing IPRO object.
Public methodPrintImage
This method prints the currently displayed image.
Public methodPrintImageEx
This method prints the an image range.
Public methodSetCommandHelpID
Pairs a help ID to each command.
Public methodSetHelpID
If set, and F1 is pressed, returns a SetHelp ID from OnSetHelp.
Public methodSetMenuItems
Use this method to set which item is displayed on the menu in a given group.
Public methodSetToolbarButtons
Use this method to set which button is displayed on the menu in a given group.
Public methodSetUILang
Sets UI language from LANGUAGES enumeration of IPRO.
Public methodUpdateCtrl
Use this method to invalidate and redraw the entire view.
Public methodUpdateCtrlRect
Use this method to invalidate and update a partial rectangle of the ImageView.
Top
Events
  NameDescription
Public eventOnActiveZoneChanged
This event is fired whenever another zone becomes active in the ImageView.
Public eventOnAfterCustomPaint
This event is fired when the EnableCustomDrawing property is True, and the control is about to finish painting its content.
Public eventOnAfterZoneCustomDrawing
This event is fired when EnableCustomDrawing and ZonesVisible properties are True, and the control is about to finish painting one of the zones.
Public eventOnAfterZonesChanged
This event is fired after the attributes and / or positions of one or more zones have changed.
Public eventOnBeforeCustomPaint
This event is fired when the EnableCustomDrawing property is True, and the control is about to paint its content.
Public eventOnBeforeZoneCustomDrawing
This event is fired when the EnableCustomDrawing and ZonesVisible properties are True, and the control is about to paint one of the zones.
Public eventOnBeforeZonesChanged
This event is fired before the attributes and / or positions of one or more zones are about to change.
Public eventOnEnterModal
Public eventOnGetResources
Public eventOnLeaveModal
Public eventOnMouseButtonDown
This event is fired whenever a mouse button is pressed while the mouse is over the ImageView.
Public eventOnMouseButtonUp
This event is fired whenever a mouse button is released while the mouse is over the ImageView.
Public eventOnMouseMovedTo
This event is fired whenever the mouse pointer position changes over the ImageView.
Public eventOnReorderingFinished
This event is fired when a previously initiated zone reorder function is terminated.
Public eventOnResourceChanged
Public eventOnResourceCreated
Public eventOnResourceSelectionChanged
Public eventOnSetHelp
Public eventOnSetMessageString
Public eventOnSetToolTip
Top
See Also