IMiSelectableItem Object

Multiple objects
IMiSelectableItem

Represents the user's selection in the viewer control as text.

Using the IMiSelectableItem Object

You can retrieve the user's selection in the viewer control as text (using the TextSelection property, which returns an IMiSelectableItem object) or as an image (using the ImageSelection property, which returns an IMiSelectableImage object). You can access the recognized text and the individual words of a text selection, and you can export an image selection as an IPictureDisp object for display in another control. Both text and image selections also support the CopyToClipboard method and a method that returns the coordinates of the selection.

Properties | Text Property | Words Property

Methods | CopyToClipboard Method | GetSelectRects Method

Parent Objects | MiDocView Object | MiDocView Object

Child Objects