Deleting multiple pages

    • Offizieller Beitrag

    Hi,

    Code
    Deleting multiple pages repeating commands wpviewPDF1.DeletePage(wpviewPDF1.Page-1) doesn't works. 
    It works only for the first time.

    The page numbering is NOT changed by DeletePage and also the current page is not changed.

    To delete multiple pages you can use something like

    for i:=Page to Page+10 do
    wpviewPDF1.DeletePage(i)


    Julian