Class PdfFormEvents
public sealed class PdfFormEvents
- Inheritance
-
PdfFormEvents
- Inherited Members
Properties
OnCursorChange
Invoked when the cursor should be changed (e.g., to a text beam or hand).
public Action<int>? OnCursorChange { get; set; }
Property Value
OnFormChanged
Invoked when a form field value or state has changed.
public Action? OnFormChanged { get; set; }
Property Value
OnGetLocalTime
Provides the current system time to PDFium.
public Func<FpdfSystemTime>? OnGetLocalTime { get; set; }
Property Value
OnGetPage
Called when PDFium wants to retrieve a page from a document by index.
public Func<PdfDocument, int, PdfPage?>? OnGetPage { get; set; }
Property Value
OnGetRotation
Called when PDFium wants to know the rotation of a given page.
public Func<PdfPage, int>? OnGetRotation { get; set; }
Property Value
OnInvalidate
Invoked when a region of a PDF page needs to be redrawn due to form updates.
public Action<PdfPage, FsRectF>? OnInvalidate { get; set; }
Property Value
OnKillTimer
Called when PDFium wants to cancel a timer.
public Action<int>? OnKillTimer { get; set; }
Property Value
OnOutputSelectedRect
Invoked when PDFium wants to draw a selection rectangle (e.g., for text selection).
public Action<PdfPage, FsRectF>? OnOutputSelectedRect { get; set; }
Property Value
OnRelease
Optional release callback if any resources should be cleaned up when the form environment is destroyed.
public Action? OnRelease { get; set; }
Property Value
OnSetTimer
Provides a timer callback for PDFium's internal use (e.g., cursor blink). Returns a platform-defined timer ID.
public Func<int, Action, int>? OnSetTimer { get; set; }