Show / Hide Table of Contents

# Class KeyStrokeActionResult

A class that contains information from a KeyStrokeAction.

##### Inheritance

object
KeyStrokeActionResult

##### Implements

IDisposable

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: pdftron.PDF

###### Assembly: PDFNet.dll

##### Syntax

    public class KeyStrokeActionResult : IDisposable

### Methods

#### Dispose()

Destructor

##### Declaration

    public override sealed void Dispose()

#### Dispose(bool)

##### Declaration

    [HandleProcessCorruptedStateExceptions]
    protected virtual void Dispose(bool A_0)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | A_0 |

#### ~KeyStrokeActionResult()

##### Declaration

    protected ~KeyStrokeActionResult()

#### GetText()

The new text to be added. For example, getText() could return an upper case version of the text entered by user.

##### Declaration

    public string GetText()

##### Returns

Type | Description
--- | ---
string |

#### IsValid()

Indicates whether the added text passed validation.

##### Declaration

    public bool IsValid()

##### Returns

Type | Description
--- | ---
bool |

### Implements

IDisposable