You are viewing limited content. For full access, please sign in.

Question

Question

Does the DocumentInfo.InsertPage method use a 1-based index like DocumentImporter.PagePosition?

SDK
asked on May 12, 2016

The older LFSO8X and DocumentProcessor8X libraries use a 1-based system for page indexing for retrieving pages and inserting pages for the following methods:

  • DocumentImporter.PageIndex
  • LFDocumentPages.CreateNewPage
  • LFDocumentPages.get_Item
  • LFDocumentPages.MarkPageByIndex

 

Does the new RepositoryAccess library keep the 1-based index approach to pages for page-related methods like these?

  • DocumentImporter.PagePosition
  • DocumentInfo.InsertPage
  • DocumentInfo.GetPageInfo
  • DocumentInfo.DeletePage
0 0

Answer

SELECTED ANSWER
replied on May 12, 2016

These RepositoryAccess methods are all 1-based.  In general, "page number" will be 1-based, whereas parameters that are named "index" are 0-based.

0 0
replied on May 13, 2016

Thank you for clarifying!

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.