SelectAll Method
Selects everything on the specified page of the document displayed in the viewer control.
expression.SelectAll(nPage)
*expression * Required. An expression that returns an MiDocView object.
nPage Required Long. The zero-based page number.
Remarks
The SelectAll method makes all of the text that is recognized on the specified page available through the viewer control's TextSelection property, and makes the entire page available as an image through the viewer control's ImageSelection property.
The SelectionChanged event fires when the user makes a selection or changes the selection in the viewer control. The SelectAll method also causes this event to be raised.
Example
The following example selects everything on the first page of the document that is displayed in the viewer control.
MiDocView1.SelectAll 0
Applies to | MiDocView Object