Метод | Описание | |
---|---|---|
ApplyStyle ( string style ) : void | ||
CanApplyStyle ( string style ) : bool | ||
CanDelete ( ) : bool |
Return true if Delete() will delete something. Default is that it will not.
|
|
Contains ( |
Answer true if the selection is contained in the other, that is, it is associated with one of the selected characters.
|
|
Delete ( ) : void |
Delete the selected material, or whatever else is appropriate when the Delete key is pressed. (Insertion Point deletes the following character.) Default is to do nothing.
|
|
GetSelectionLocation ( IVwGraphics graphics, PaintTransform transform ) : |
Get the location, in the coordinates indicated by the transform, of a rectangle that contains the primary insertion point. Todo JohnT: there should be a parallel routine to get the location of the secondary rectangle.
|
|
InsertRtfString ( string input ) : bool | ||
InsertText ( string input ) : bool | ||
InsertTsString ( ITsString input ) : bool | ||
Install ( ) : void |
Install this selection as the current one for the root box.
|
|
MoveByKey ( |
Return the selection that should be produced by a KeyDown event with the specified arguments. If the argument does not specify a key-moving event or it is not possible to move (e.g., left arrow at start of document), return null.
|
|
RestoreData ( |
||
SelectedText ( ) : string |
Метод | Описание | |
---|---|---|
Draw ( IVwGraphics vg, PaintTransform ptrans ) : void |
Draw the selection on the VwGraphics.
|
|
Invalidate ( ) : void |
Invalidate the selection, that is, mark the rectangle it occupies as needing to be painted in the containing control.
|
public CanApplyStyle ( string style ) : bool | ||
style | string | |
Результат | bool |
public Contains ( |
||
ip | ||
Результат | bool |
public abstract GetSelectionLocation ( IVwGraphics graphics, PaintTransform transform ) : |
||
graphics | IVwGraphics | |
transform | PaintTransform | |
Результат |
public InsertRtfString ( string input ) : bool | ||
input | string | |
Результат | bool |
public InsertTsString ( ITsString input ) : bool | ||
input | ITsString | |
Результат | bool |
public MoveByKey ( |
||
args | ||
Результат |
public abstract RestoreData ( |
||
dataToSave | ||
Результат | ISelectionRestoreData |