| FoxitPDFSDKforWeb v11.0.4 Archives Foxit PDF SDK for Web

Public Attributes | List of all members
CloneWidgetOptions Class Reference
PDF » form

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

@2025 Foxit Software Incorporated. All rights reserved.