API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdPage Class > OdPage Methods > OdPage::addLink Method
OdPage::addLink Method
Syntax
C++
void addLink(const OdLinkPtr& link, const OdRect& location);
Parameters 
Description 
const OdLinkPtr& link 
[in] A smart pointer to a link object that should be added.  
const OdRect& location 
[in] A rectangle that specifies the location of an added link within the page. It determines where the link will be placed on the page. 

Adds a link to the page. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.