The operation cannot be performed because no pages are specified

Symptoms

The following error message appears - The operation cannot be performed because no pages are specified.

 

Resolution

The issue is associated with the AddImageFile method arguments, especially with the IIntsCollection one. Usually, it appears when the mentioned argument is left empty, however, this parameter is optional and may be 0, in which case all the pages of the opened file will be added to the document.

 

More info on the AddImageFile Method can be found here: AddImageFile

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed