Rank: Member
Groups: Registered
Joined: 5/30/2016(UTC) Posts: 14  Thanks: 4 times
|
Hi, Is there a way to delete a PageObject that I've added on a PDF page ? I see no delete nor remove method in the Page.PageObjects collection. Thanks Edited by user 8 years ago
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Guests
Joined: 1/5/2016(UTC) Posts: 162
Was thanked: 5 time(s) in 5 post(s)
|
I'm afraid currently there is no the way to do that. But I can suggest the workaround. You may reload the page by calling the Page.Dispose() method (It will be loaded again automaticaly at first usage of any property or method). Then you may add all needed objects again except the deleted one.
|
 1 user thanked Guest for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 5/30/2016(UTC) Posts: 14  Thanks: 4 times
|
Originally Posted by: Guest  I'm afraid currently there is no the way to do that. But I can suggest the workaround. You may reload the page by calling the Page.Dispose() method (It will be loaded again automaticaly at first usage of any property or method). Then you may add all needed objects again except the deleted one. Thanks Silvio, This is already what I was doing but there were side effects, some pages where still showing the objects even though I was not reloading them. There must be some cache somehow. Calling the Dispose() method solved this ! Everything now work as exepected Thanks !
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close