Skip to main content
xtof1
Participant
February 9, 2018
Question

It seems 'startPage' field of 'SearchQueryDataRec' structure is not used by 'SearchExecuteQueryEx' function

  • February 9, 2018
  • 1 reply
  • 374 views

I'm trying to start search at a specific page number but, Acrobat always give me results from page 1.

This topic has been closed for replies.

1 reply

Legend
February 9, 2018

As a wild guess, if you are using an index to search I'd not be surprised if start page were ignored (as indexes are global). Docs don't say this though.

xtof1
xtof1Author
Participant
February 9, 2018

In this case, what shall be other fields to make startPage working ?

In my case, I have:

  • type = kSearchActiveDoc
  • scope = kSearchDocumentText | kSearchMarkup
  • maxDocs = 1

I think it shall work with these fields. So, what is the problem ?