diff --git a/docs/getting_started.md b/docs/getting_started.md index 58c9f2d..f808ca0 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -194,30 +194,6 @@ capitalized. - `CreationDate` - the date the document was created (added automatically by PDFKit) - `ModDate` - the date the document was last modified -## Destination - -Anchor may specify a destination by `addNamedDestination(name, ...args)`, which consists of a page, the location of the display window on that page, and the zoom factor to use when displaying that page. - -Examples: - - // Insert anchor for current page - doc.addNamedDestination('LINK'); - - // Insert anchor for current page with only horizontal magnified to fit where vertical top is 100 - doc.addNamedDestination('LINK', 'FitH', 100); - - // Insert anchor to display a portion of the current page, 1/2 inch in from the top and left and zoomed 50% - doc.addNamedDestination('LINK', 'XYZ', 36, 36, 50); - - // Insert anchor for this text - doc.text('End of paragraph', { destination: 'ENDP' }); - - // Go to annotation - doc.text('Another goto', 20, 0, { - goTo: 'ENDP', - underline: true - }); - ## Encryption and Access Privileges PDF specification allow you to encrypt the PDF file and require a password when opening the file,