Class KeyStrokeEventData
KeyStrokeEventData contains information for executing KeyStrokeAction
Implements
Inherited Members
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public class KeyStrokeEventData : IDisposable
Constructors
KeyStrokeEventData(string, string, string, int, int)
The constructor for KeyStrokeEventData.For example, given the starting string "PDFTron Rocks", and the user selected "Tron" and pasted "Net", this would be indicated with the following constructor : KeyStrokeEventData(field_name, "PDFTron Rocks", "Net", 3, 7);
Declaration
public KeyStrokeEventData(string field_name, string current_value, string change, int selection_start, int selection_end)
Parameters
Type | Name | Description |
---|---|---|
string | field_name | the name of the field where the event happens |
string | current_value | the value of the field before event happens |
string | change | the value of text that user wants to add |
int | selection_start | the start position of the selected text |
int | selection_end | the end position of the selected text |
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 |
~KeyStrokeEventData()
Declaration
protected ~KeyStrokeEventData()