ImageGear for C and C++ on Linux v20.0 - Updated
HIG_PDF_BASARR
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Basic Objects > HIG_PDF_BASARR

General HIG_PDF_BASOBJ is used to handle to the basic array object. An array object is a one-dimensional collection of objects arranged sequentially. Unlike arrays in many other computer languages, PDF arrays may be heterogeneous; that is, an array's elements may be any combination of numbers, strings, dictionaries, or any other objects, including other arrays.

Members:

IG_PDF_basarr_create Creates a new array of objects.
IG_PDF_basarr_get_length Gets the number of elements in hArray.
IG_PDF_basarr_get Gets the specified element from an array.
IG_PDF_basarr_put Puts the specified object into the specified location in an array.
IG_PDF_basarr_put_int Puts the specified fixed value into the specified location in an array.
IG_PDF_basarr_put_fixed Puts the specified fixed value into the specified location in an array.
IG_PDF_basarr_put_bool Puts the specified Boolean value into the specified location in an array.
IG_PDF_basarr_put_name Puts the specified name value into the specified location in an array.
IG_PDF_basarr_remove Finds the first element, if any, equal to the specified object and removes it from the array.
IG_PDF_basarr_remove_nth Checks whether the position is within the array bounds and then removes it from the array and moves each subsequent element to the slot with the next smaller index and decrements the array's length by 1.
Is this page helpful?
Yes No
Thanks for your feedback.