KeyStrokeEventData Constructor |
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);
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public KeyStrokeEventData(
string field_name,
string current_value,
string change,
int selection_start,
int selection_end
)
Public Sub New (
field_name As String,
current_value As String,
change As String,
selection_start As Integer,
selection_end As Integer
)
public:
KeyStrokeEventData(
[InAttribute] String^ field_name,
[InAttribute] String^ current_value,
[InAttribute] String^ change,
[InAttribute] int selection_start,
[InAttribute] int selection_end
)
pdftron.PDF.KeyStrokeEventData = function(field_name, current_value, change, selection_start, selection_end);
Parameters
- field_name
- Type: SystemString
the name of the field where the event happens
- current_value
- Type: SystemString
the value of the field before event happens
- change
- Type: SystemString
the value of text that user wants to add
- selection_start
- Type: SystemInt32
the start position of the selected text
- selection_end
- Type: SystemInt32
the end position of the selected text
See Also