> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Image Viewer Commands

> List of Image Viewer commands in ABBYY FineReader Engine Visual Components on Windows — Below is the list of commands available in Image Viewer.

Below is the list of commands available in [Image Viewer](/fine-reader/engine/visual-components-reference/imageviewer). The commands can be called by:

* selecting an item from a context menu,
* clicking a toolbar button,
* pressing a hot key,
* using the [DoCommand](/fine-reader/engine/visual-components-reference/supplementary-objects/commands/docommand-method) method of the [Commands](/fine-reader/engine/visual-components-reference/supplementary-objects/commands) subobject of a component

However, not all these methods are available for each command. Availability of this or that calling method is described in the table below: "+" means that the command is available by default, "\*" — the command can be added by developer. See also [Customizing the Context Menu and Toolbar of a Visual Component](/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/customizing-the-context-menu-and-toolbar-of-a-visual-component).

| [MenuItemEnum](/fine-reader/engine/visual-components-reference/enumerations/menuitemenum) constant | Description                                                                                                                                              | Context menu | Toolbar | DoCommand | Hot key                     | Other                                                                                                                                        |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ------- | --------- | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| MI\\\_AdjustPage                                                                                   | Opens the Image Editor dialog box, which allows you to perform different transformations on images.                                                      | \\\*         | +       | +         | Ctrl+Shift+C                |                                                                                                                                              |
| MI\\\_AnalyzeLayout                                                                                | Analyzes layout of the active image page automatically.                                                                                                  | +            | +       | +         | Ctrl+E                      |                                                                                                                                              |
| MI\\\_AnalyzeLayoutInBlock                                                                         | Analyzes layout in the active area automatically.                                                                                                        | +            | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_AnalyzeTableStructure                                                                        | Draws rows and columns in the selected table automatically.                                                                                              | +            | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_AutosplitImage                                                                               | Finds the positions of splitting images on pages and splits the images.                                                                                  | \\\*         |         |           |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_BlockDelete                                                                                  | Deletes selected blocks.                                                                                                                                 | +            |         | +         | Del                         |                                                                                                                                              |
| MI\\\_BlockType\\\_BackgroundPicture                                                               | Changes the type of the selected block to Background Picture.                                                                                            | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_BlockType\\\_Barcode                                                                         | Changes the type of the selected block to Barcode.                                                                                                       | +            |         | +         | Ctrl+5                      |                                                                                                                                              |
| MI\\\_BlockType\\\_Picture                                                                         | Changes the type of the selected block to Picture.                                                                                                       | +            |         | +         | Ctrl+4                      |                                                                                                                                              |
| MI\\\_BlockType\\\_RecognitionArea                                                                 | Changes the type of the selected block to Recognition Area.                                                                                              | +            |         | +         | Ctrl+1                      |                                                                                                                                              |
| MI\\\_BlockType\\\_Table                                                                           | Changes the type of the selected block to Table.                                                                                                         | +            |         | +         | Ctrl+3                      |                                                                                                                                              |
| MI\\\_BlockType\\\_Text                                                                            | Changes the type of the selected block to Text.                                                                                                          | +            |         | +         | Ctrl+2                      |                                                                                                                                              |
| MI\\\_ChooseTool\\\_AddBlockPart                                                                   | Selects the tool which allows you to add block part.                                                                                                     | \\\*         | \\\*    | +         |                             | In the pop-up icon menu of a text or picture block, or Select one of the block drawing tools and hold Shift                                  |
| MI\\\_ChooseTool\\\_AddHorizSeparator                                                              | Selects the tool which allows you to add horizontal separator to a table block.                                                                          | \\\*         | \\\*    | +         |                             | In the pop-up icon menu of a table block, or Select one of the block drawing tools, move the cursor over a table block and hold Shift + Alt  |
| MI\\\_ChooseTool\\\_AddVertSeparator                                                               | Selects the tool which allows you to add vertical separator to a table block.                                                                            | \\\*         | \\\*    | +         |                             | In the pop-up icon menu of a table block, or Select one of the block drawing tools, move the cursor over a table block and hold Ctrl + Shift |
| MI\\\_ChooseTool\\\_CutBlockPart                                                                   | Selects the tool which allows you to cut block part.                                                                                                     | \\\*         | \\\*    | +         |                             | In the pop-up icon menu of a text or picture block, or Select one of the block drawing tools and hold Alt                                    |
| MI\\\_ChooseTool\\\_DeleteBlock                                                                    | Selects the tool which allows you to delete block.                                                                                                       | \\\*         | +       | +         |                             |                                                                                                                                              |
| MI\\\_ChooseTool\\\_DeleteSeparator                                                                | Selects the tool which allows you to remove separator from a table block.                                                                                | \\\*         | \\\*    | +         |                             | In the pop-up icon menu of a table block, or Select one of the block drawing tools, move the cursor over a table block and hold Ctrl         |
| MI\\\_ChooseTool\\\_DrawBackgroundPictureBlock                                                     | Selects the tool which allows you to draw a background picture block.                                                                                    | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_ChooseTool\\\_DrawBarcodeBlock                                                               | Selects the tool which allows you to draw a barcode block.                                                                                               |              | +       | +         |                             | Select one of the block drawing tools and hold Alt + Shift + Ctrl                                                                            |
| MI\\\_ChooseTool\\\_DrawPictureBlock                                                               | Selects the tool which allows you to draw a picture block.                                                                                               | \\\*         | +       | +         |                             | Select one of the block drawing tools and hold Alt + Shift                                                                                   |
| MI\\\_ChooseTool\\\_DrawRecognitionArea                                                            | Selects the tool which allows you to draw a recognition area.                                                                                            | \\\*         | +       | +         |                             |                                                                                                                                              |
| MI\\\_ChooseTool\\\_DrawTableBlock                                                                 | Selects the tool which allows you to draw a table block.                                                                                                 | \\\*         | +       | +         |                             | Select one of the block drawing tools and hold Ctrl + Alt                                                                                    |
| MI\\\_ChooseTool\\\_DrawTextBlock                                                                  | Selects the tool which allows you to draw a text block.                                                                                                  | \\\*         | +       | +         |                             | Select one of the block drawing tools and hold Ctrl + Shift                                                                                  |
| MI\\\_ChooseTool\\\_Eraser                                                                         | Selects the eraser tool.                                                                                                                                 | \\\*         | \\\*    | +         |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_ChooseTool\\\_RenumberBlocks                                                                 | Selects the tool which allows you to renumber blocks.                                                                                                    | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_ChooseTool\\\_SelectObject                                                                   | Selects the selection tool.                                                                                                                              | \\\*         | +       | +         |                             |                                                                                                                                              |
| MI\\\_CorrectPerspective                                                                           | Corrects trapezium perspective distortions on an image.                                                                                                  |              |         |           |                             | In the Image Editor dialog box only                                                                                                          |
| MI\\\_CorrectResolution                                                                            | Opens the Image Resolution dialog box, which allows you to correct image resolution.                                                                     | \\\*         |         | +         | Ctrl+Shift+T                |                                                                                                                                              |
| MI\\\_CropImage                                                                                    | Crops an image.                                                                                                                                          |              |         |           |                             | In the Image Editor dialog box only                                                                                                          |
| MI\\\_DeskewImage                                                                                  | Corrects image skew.                                                                                                                                     | \\\*         | \\\*    | +         |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_FlipHorizontal                                                                               | Flips the image horizontally.                                                                                                                            | \\\*         | \\\*    | +         |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_FlipVertical                                                                                 | Flips the image vertically.                                                                                                                              | \\\*         | \\\*    | +         |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_InvertImage                                                                                  | Inverts the image. Useful for inverted images (white characters against black background).                                                               | \\\*         | \\\*    | +         |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_LanguageEditor                                                                               | Opens the Language Editor dialog box, which allows you to select and edit recognition languages.                                                         | \\\*         | \\\*    | +         | Ctrl+Shift+L                |                                                                                                                                              |
| MI\\\_LayoutClear                                                                                  | Deletes all blocks on the page.                                                                                                                          | +            |         | +         | Ctrl+Del                    |                                                                                                                                              |
| MI\\\_MergeTableCells                                                                              | Merges the selected table cells into one.                                                                                                                | +            | \\\*    | +         |                             | In the pop-up icon menu of a table block                                                                                                     |
| MI\\\_NextPage                                                                                     | Shows next page.                                                                                                                                         | \\\*         | \\\*    | +         | Ctrl+Num+ or Alt+Down Arrow | Down arrow in the right bottom corner of Image Viewer                                                                                        |
| MI\\\_Options                                                                                      | Shows the Options dialog box, which allows you to specify different viewing and saving options.                                                          | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_PrevPage                                                                                     | Shows previous page.                                                                                                                                     | \\\*         | \\\*    | +         | Ctrl+Num- or Alt+Up Arrow   | Up arrow in the right bottom corner of Image Viewer                                                                                          |
| MI\\\_PrintImage                                                                                   | Prints the image.                                                                                                                                        | \\\*         | \\\*    | +         | Ctrl+Alt+P                  |                                                                                                                                              |
| MI\\\_Properties                                                                                   | Shows the properties of the selected image or block.                                                                                                     | +            | \\\*    | +         | Alt+Enter                   | Show Area Properties button in the left bottom corner of Image Viewer                                                                        |
| MI\\\_Read                                                                                         | Recognizes the active page.                                                                                                                              | +            | \\\*    | +         | Ctrl+R                      |                                                                                                                                              |
| MI\\\_ReadBlock                                                                                    | Recognizes the selected block.                                                                                                                           | +            | \\\*    | +         | Ctrl+Shift+B                |                                                                                                                                              |
| MI\\\_Redo                                                                                         | Cancels the latest undone action.                                                                                                                        | \\\*         | \\\*    | +         | Ctrl+Enter or Ctrl+Y        |                                                                                                                                              |
| MI\\\_ReduceISONoise                                                                               | Reduces ISO noise on the image.                                                                                                                          | \\\*         |         | +         |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_RemoveMotionBlur                                                                             | Removes motion blur from the image.                                                                                                                      | \\\*         |         | +         |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_RotateClockwise                                                                              | Rotates the image 90° clockwise.                                                                                                                         | \\\*         | \\\*    | +         |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_RotateCounterClockwise                                                                       | Rotates the image 90° counter-clockwise.                                                                                                                 | \\\*         | \\\*    | +         |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_RotateUpsideDown                                                                             | Rotates the image upside down (180°).                                                                                                                    | \\\*         | \\\*    | +         |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_Scale\\\_100                                                                                 | Selects 100% scale value for an image.                                                                                                                   | +            | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_Scale\\\_200                                                                                 | Selects 200% scale value for an image.                                                                                                                   | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_Scale\\\_25                                                                                  | Selects 25% scale value for an image.                                                                                                                    | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_Scale\\\_50                                                                                  | Selects 50% scale value for an image.                                                                                                                    | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_Scale\\\_BestFit                                                                             | Selects the best view for the image.                                                                                                                     | +            | \\\*    | +         |                             | Best Fit button on the bottom pane of Image Viewer                                                                                           |
| MI\\\_Scale\\\_FitToHeight                                                                         | Fits image view to height.                                                                                                                               | +            | \\\*    | +         |                             | Fit to Height button on the bottom pane of Image Viewer                                                                                      |
| MI\\\_Scale\\\_FitToWidth                                                                          | Fits image view to width.                                                                                                                                | +            | \\\*    | +         |                             | Fit to Width button on the bottom pane of Image Viewer                                                                                       |
| MI\\\_Scale\\\_ZoomIn                                                                              | Zooms into the image.                                                                                                                                    | +            | \\\*    | +         |                             | Zoom In button on the bottom pane of Image Viewer                                                                                            |
| MI\\\_Scale\\\_ZoomOut                                                                             | Zooms out of the image.                                                                                                                                  | +            | \\\*    | +         |                             | Zoom Out button on the bottom pane of Image Viewer                                                                                           |
| MI\\\_Scale\\\_ZoomToSelBlocks                                                                     | Maximizes the selected blocks.                                                                                                                           | +            |         | +         | Ctrl+Shift+Num\\\*          |                                                                                                                                              |
| MI\\\_SelectAll                                                                                    | Selects all blocks in Image Viewer.                                                                                                                      | \\\*         |         | +         | Ctrl+A                      |                                                                                                                                              |
| MI\\\_Separator                                                                                    | Adds a separator to the toolbar or context menu.                                                                                                         | +            | \\\*    |           |                             |                                                                                                                                              |
| MI\\\_SplitImage                                                                                   | Splits image into several parts.                                                                                                                         |              |         |           |                             | In the Image Editor dialog box only                                                                                                          |
| MI\\\_SplitTableCells                                                                              | Splits the previously merged cells.                                                                                                                      | +            | \\\*    | +         |                             | In the pop-up icon menu of a table block                                                                                                     |
| MI\\\_StraightenTextLines                                                                          | Removes text line distortions.                                                                                                                           | \\\*         | \\\*    | +         |                             | In the Image Editor dialog box                                                                                                               |
| MI\\\_SubMenu                                                                                      | Adds submenu to the context menu.                                                                                                                        | +            |         |           |                             |                                                                                                                                              |
| MI\\\_TextDirectionAuto                                                                            | Specifies that [CJK](/fine-reader/engine/guided-tour/advanced-techniques/recognizing-cjk-languages#cjk) text direction should be automatically detected. | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextDirectionHorizontal                                                                      | Specifies that [CJK](/fine-reader/engine/guided-tour/advanced-techniques/recognizing-cjk-languages#cjk) text has horizontal writing direction.           | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextDirectionVertical                                                                        | Specifies that [CJK](/fine-reader/engine/guided-tour/advanced-techniques/recognizing-cjk-languages#cjk) text has vertical writing direction.             | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextNormal                                                                                   | Specifies that the text in the block has normal orientation.                                                                                             | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextRoleArtefact                                                                             | Specifies that the text in the block has some other role, not listed below.                                                                              | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextRoleCaption                                                                              | Specifies that the text in the block is a caption.                                                                                                       | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextRoleIncutText                                                                            | Specifies that the text in the block is a boxed text.                                                                                                    | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextRoleLineNumbers                                                                          | Specifies that the text in the block is line numbers.                                                                                                    | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextRoleMainText                                                                             | Specifies that the text in the block is a body text.                                                                                                     | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextRoleRunningTitle                                                                         | Specifies that the text in the block is a header or footer.                                                                                              | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextRoleUnknown                                                                              | Specifies that the role of the text in the block is undefined.                                                                                           | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextRotatedLeft                                                                              | Specifies that the text in the block is rotated left.                                                                                                    | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextRotatedRight                                                                             | Specifies that the text in the block is rotated right.                                                                                                   | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_TextUpsideDown                                                                               | Specifies that the text in the block is rotated upside down.                                                                                             | +            |         | +         |                             |                                                                                                                                              |
| MI\\\_Undo                                                                                         | Cancels the latest action.                                                                                                                               | \\\*         | \\\*    | +         | Alt+Backspace or Ctrl+Z     |                                                                                                                                              |
| MI\\\_ViewDictionaries                                                                             | Opens the Select Dictionary dialog box, which allows you to view and edit dictionary properties.                                                         | \\\*         | \\\*    | +         | Ctrl+Alt+D                  |                                                                                                                                              |
| MI\\\_CustomCommand1                                                                               | Allows you to define a custom command.                                                                                                                   | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_CustomCommand2                                                                               | Allows you to define a custom command.                                                                                                                   | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_CustomCommand3                                                                               | Allows you to define a custom command.                                                                                                                   | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_CustomCommand4                                                                               | Allows you to define a custom command.                                                                                                                   | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_CustomCommand5                                                                               | Allows you to define a custom command.                                                                                                                   | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_CustomCommand6                                                                               | Allows you to define a custom command.                                                                                                                   | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_CustomCommand7                                                                               | Allows you to define a custom command.                                                                                                                   | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_CustomCommand8                                                                               | Allows you to define a custom command.                                                                                                                   | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_CustomCommand9                                                                               | Allows you to define a custom command.                                                                                                                   | \\\*         | \\\*    | +         |                             |                                                                                                                                              |
| MI\\\_CustomCommand10                                                                              | Allows you to define a custom command.                                                                                                                   | \\\*         | \\\*    | +         |                             |                                                                                                                                              |

## See also

[Customizing the Context Menu and Toolbar of a Visual Component](/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/customizing-the-context-menu-and-toolbar-of-a-visual-component)

[Commands](/fine-reader/engine/visual-components-reference/supplementary-objects/commands)

[MenuItemEnum](/fine-reader/engine/visual-components-reference/enumerations/menuitemenum)
