• Products
  • Pricing
  • Documentation
  • Support
Login
Your cart is empty. See pricing.
My order
Total:
Order
  • Home
  • Products
  • Pricing
  • Documentation
  • Support
Login
LinkedIn
Twitter
Tall Components has been acquired by Apryse.
Learn more here.
  • Guide
  • API reference
  • Code samples
  • Changelog
  • TallComponents
  • TallComponents.Licensing
  • TallComponents.PDF
  • TallComponents.PDF.Actions
  • TallComponents.PDF.Annotations
  • TallComponents.PDF.Annotations.Markups
  • TallComponents.PDF.Annotations.Widgets
  • TallComponents.PDF.Brushes
  • TallComponents.PDF.Colors
  • TallComponents.PDF.Diagnostics
  • TallComponents.PDF.DigitalSignatures
  • TallComponents.PDF.DynamicXfa
  • TallComponents.PDF.Extensions
  • TallComponents.PDF.Fonts
  • TallComponents.PDF.Forms.Data
  • TallComponents.PDF.Forms.Fields
  • TallComponents.PDF.Forms.Fields.Barcodes
  • TallComponents.PDF.Forms.Fields.Barcodes.Properties
  • TallComponents.PDF.JavaScript
  • TallComponents.PDF.JavaScript.Scripting
  • TallComponents.PDF.JavaScript.Scripting.Soap
  • TallComponents.PDF.Metadata
  • TallComponents.PDF.Navigation
  • TallComponents.PDF.Pens
  • TallComponents.PDF.Prepress
  • TallComponents.PDF.Printing
  • TallComponents.PDF.Security
  • TallComponents.PDF.Shapes
  • TallComponents.PDF.Shapes.Annotations
  • TallComponents.PDF.Shapes.Barcodes
  • TallComponents.PDF.Tags
  • TallComponents.PDF.TextExtraction
  • TallComponents.PDF.Transforms

Namespace TallComponents.PDF.JavaScript.Scripting

Class XFAHost

XFA Host JavaScript object.

To override the default behavior you must specialize this class and register a custom JavaScript class factory that returns an instance of this class.

Syntax

public class XFAHost : Object

Constructors

XFAHost()
Create a new XFAHost object.

Properties

Int32 CurrentPage
Sets the currently active page of a document at run time.

Methods

Void Beep(SoundType)
Override this method to provide custom xfa.host.beep() behaviour
AlertResult MessageBox(String,String,AlertIcon,AlertButtons)
Override this method to provide custom xfa.host.messageBox() behaviour
Void PageDown()
Void PageUp()
Void Print(Boolean,Int32,Int32,Boolean,Boolean,Boolean,Boolean,Boolean)
Override this method to provide custom xfa.host.print() behaviour
String Response(String,String,String,Boolean)
Override this method to provide custom xfa.host.response() behaviour
String SelectFileName(String)
Override this method to provide a way for the user to select a file., e.g. by displaying the Open File dialog.
Void SetFocus(String)
Our products
PDFKit.NET 5.0
Create and manipulate PDF documents
TallPDF.NET 5.0
Generate PDF on the fly
PDFRasterizer.NET 4.0
Render PDF pages cross-platform
Support resources
  • Code samples
  • Submit issue
  • Contact
  • Licensing Model
Legal
  • EULA
  • Privacy
LinkedIn
Twitter
© 2001-2025 TallComponents BV. All rights reserved.