Skip navigation
Currently Being Moderated

Enumerating selected thumbnails - 2

Nov 9, 2007 1:56 AM

Sorry. browser have some error. :(


I want to enumerate selected page ranges at Thumbnails panel.

I've tried to use AVDocGetSelection but it returns some pointer which I can't interpret as any usable info. According to spec it should be somehow converted to AsInt32, because AsInt32 is used in AVDocSetSelection for thumbnails data type, but I have not found any usable conversion variant. Are there any info how it should be converted to selected page array?

So now I'm trying to use AVDocSelectionEnumPageRanges in following way:
I've defined callback function which should store selected page ranges in following way:

ACCB1 ASBool ACCB2 SelectionPageRangeCallback( AVDoc , void* , PDPageNumber firstPage, PDPageNumber lastPage )
//some code which stores page ranges

When I want to update selected page ranges list I perform following call:

AVDocSelectionEnumPageRanges( avSourceDoc, ASCallbackCreateProto( AVSelectionPageRangeEnumProc, SelectionPageRangeCallback ), NULL );

So callback function should be called. But it was not called. Could somebody, please, point on my error or just give me an idea how to enumerate selected pages at Thumbnails panel?

Thanks in advance.
  • Currently Being Moderated
    Nov 9, 2007 3:46 AM   in reply to (Konstantin_Kasimirov)
    this really belongs over in the SDK forum, but...

    the answer is that there is no public/approved APIs for enumerating the selections in the Thumbnails/Pages panel.

    Mark as:
  • Currently Being Moderated
    Feb 27, 2013 7:44 PM   in reply to (Leonard_Rosenthol)

    Would be very useful if there was an api to enumerate selections in the Thumbnails/Pages panel-


    for example we need to allow users to select pages via thumbnails and then hit a button to perform some action like add annotations to those pages.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)