Foxit PDF SDK for HarmonyOS  3.0
PageBasicInfoArray Class Reference
Inheritance diagram for PageBasicInfoArray:
NativeObjectWrapper

Public Member Functions

 Add (element)
 Add an element at the tail. Potentially growing the array. More...
 
 constructor ()
 Constructor.
 
 constructor (other)
 Constructor.
 
 GetAt (index)
 This method retrieves an element specified by an index number. More...
 
 GetSize ()
 Get the number of elements in the array. More...
 
 InsertAt (index, newElement)
 Inset one or more continuous element at specified position. More...
 
 RemoveAll ()
 Clean up the array. More...
 
 RemoveAt (index)
 Remove a number of elements at specified position. More...
 
- Public Member Functions inherited from NativeObjectWrapper
 constructor (r)
 
 GetPointerAsNumber ()
 

Detailed Description

Member Function Documentation

◆ Add()

PageBasicInfoArray.Add ( element  )

Add an element at the tail. Potentially growing the array.

Parameters
[in]newElementThe input element.
Returns
None.

◆ GetAt()

PageBasicInfoArray.GetAt ( index  )

This method retrieves an element specified by an index number.

Parameters
[in]nIndexSpecifies the zero-based index of the element.
Returns
An element.

◆ GetSize()

PageBasicInfoArray.GetSize ( )

Get the number of elements in the array.

Returns
The number of elements in the array.

◆ InsertAt()

PageBasicInfoArray.InsertAt ( index  ,
newElement   
)

Inset one or more continuous element at specified position.

Parameters
[in]nIndexSpecifies the zero-based index in the array.
[in]newElementSpecifies the element value to insert.
Returns
None.

◆ RemoveAll()

PageBasicInfoArray.RemoveAll ( )

Clean up the array.

Returns
None.

◆ RemoveAt()

PageBasicInfoArray.RemoveAt ( index  )

Remove a number of elements at specified position.

Parameters
[in]nIndexSpecifies the zero-based index in the array.
Returns
None.