FoxitPDFSDKforWeb v11.0.1
Foxit PDF SDK for Web
CloneWidgetOptions Class Reference

Clone a widget from one page to another. More...

Public Attributes

AnnotId srcWidgetId
 The ID of the source widget. More...
 
string targetFieldName
 The field name of the target widget. More...
 
number targetPageIndex
 The index of the target page. More...
 
Rect targetPDFRect
 The target position of the cloned widget. More...
 

Detailed Description

Clone a widget from one page to another.

This options object is used in the PDFForm.cloneWidgets method to clone widgets from one page to another.

Since
11.0.0

Member Data Documentation

◆ srcWidgetId

AnnotId CloneWidgetOptions::srcWidgetId

The ID of the source widget.

Since
11.0.0

◆ targetFieldName

string CloneWidgetOptions::targetFieldName

The field name of the target widget.

If this property is provided, the cloned widget will have this field name.

Since
11.0.0

◆ targetPageIndex

number CloneWidgetOptions::targetPageIndex

The index of the target page.

Since
11.0.0

◆ targetPDFRect

Rect CloneWidgetOptions::targetPDFRect

The target position of the cloned widget.

If this property is not provided, the widget will be cloned at the same position as the source widget.

Since
11.0.0

Foxit Software Corporation Logo
@2025 Foxit Software Incorporated. All rights reserved.