Hello everyone,
I'd like to get the list of selected page thumbnails using the SDK. I face an error 0x82130001 at execution time.
I develop for a C# project in Visual Studio 2010, with the Viewer SDK version 2.5.193
Here is the code:
object dataIn = null;
object dataOut = null;
int id;
int count;
PDFControl.GetDocumentsCount(out count);
PDFControl.GetDocumentID(count, out id);
PDFControl.DoDocumentVerb(id, "", "GetSelectedPageThumbnails", dataIn, out dataOut, 0);
this is where i get the 0x82130001 error
Can someone help me ?
Thanks
Sammy
GetSelectedPageThumbnails Error 0x82130001
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 9
- Joined: Thu Mar 10, 2011 2:56 pm
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: GetSelectedPageThumbnails Error 0x82130001
Hello Sammy,
Documents array is zero terminated, so in your code you should use this line:
HTH.
Documents array is zero terminated, so in your code you should use this line:
Code: Select all
PDFControl.GetDocumentID(count - 1, out id);