AddNew Method of the LinksToSections Object
This method adds a new link to a section or section variant at the end of the collection. Please note that you may create links to section variants only for non-invoice Document Definitions. For invoices, only links to sections are supported.
Syntax
Visual Basic .NET
Function AddNew( _ Section As SectionDefinition, _ Value As PageRoleEnum, _ Variant As DataSetTableRecord _ ) As LinkToSection
C++
HRESULT AddNew( ISectionDefinition* Section, PageRoleEnum Value, IDataSetTableRecord* Variant, ILinkToSection** Result );
Parameters
- Section
- [in] This variable refers to the SectionDefinition object that contains the section of a Document Definition. It must not be NULL.
- Value
- [in] This variable of the PageRoleEnum type specifies the role of the page in the section.
- Variant
- [in] This variable refers to the DataSetTableRecord object specifying a record in the "Variants" data set that is storing the section variants. Must be NULL for invoice projects.
- Result
- [out, retval] A pointer to the ILinkToSection* variable that receives the interface pointer for the added link.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.
See also
8/15/2023 1:19:30 PM