Class PdfControl
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Class for an interactive control on the screen that the user can manipulate with the mouse. This class is a base class for PdfCheckBox, PdfComboBox, PdfListBox, PdfTextBox, PdfButton, PdfRadioButton and PdfSignatureField.
public abstract class PdfControl : PdfWidget
- Inheritance
-
PdfControl
- Derived
- Inherited Members
Remarks
The Docotic.Pdf Library Documentation page contains links to articles, guides, and sample code.
Properties
- BackgroundColor
Gets or sets the color of the control background.
- Border
Gets the properties of the control border.
- BoundingBox
Gets or sets the bounding box (rectangle that defines the location of the control on the page).
- FullName
Gets the fully qualified name of the control.
- Hint
Gets or sets the text displayed when the mouse hovers over the control.
- MappingName
Gets or sets the mapping name.
- Name
Gets or sets the control name.
- OnActivation
Gets or sets the action to be performed when the control is activated.
- OnBeforeFormatting
Gets or sets the PdfJavaScriptAction action to be performed before the control is formatted to display its current value.
- OnChange
Gets or sets the PdfJavaScriptAction action to be performed when the control's value is changed.
- OnKeyPress
Gets or sets the PdfJavaScriptAction action to be performed when the user types a keystroke into PdfTextBox or PdfComboBox or modifies the selection in a scrollable list box.
- OnLostFocus
Gets or sets the action to be performed when the control loses the input focus.
- OnMouseDown
Gets or sets the action to be performed when the mouse button is pressed inside the control's active area.
- OnMouseEnter
Gets or sets the action to be performed when the cursor enters the control's active area.
- OnMouseExit
Gets or sets the action to be performed when the cursor exits the controls' active area.
- OnMouseUp
Gets or sets the action to be performed when the mouse button is released inside the control's active area.
- OnOtherControlChanged
Gets or sets the PdfJavaScriptAction action to be performed to recalculate the value of this control when that of another control changes.
- OnSetFocus
Gets or sets the action to be performed when the control receives the input focus.
- Rotation
Gets the PdfRotation value specifying the rotation of the control counterclockwise relative to the page.
- ValueIsRequired
Gets or sets a value indicating whether this control must have a value at the time it is exported by a PdfSubmitFormAction.
Methods
- Rotate(PdfRotation)
Rotates control around top-left control's corner, counter-clockwise, relative to the page. Useful when PdfPage is rotated.
- ToString()
Returns a string that represents this PdfControl instance.