Click or drag to resize

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
)

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