I'm trying to figure out how to use getLinkUrl(offset) in Google Apps Script.
I found the reference here - http://googlescriptreference.com/Document/Text/getlinkurloffset/, but I can't find any examples online.
This GAS returns Paragraphin the logs
var paragraph = tableCell.getChild(0);
This GAS returns the text string in the paragraph in the logs
var paragraphText = paragraph.getText();
This GAS returns NULL in the logs
var paragraphText = paragraph.getLinkUrl();
This GAS returns an error ( Cannot find method getLinkUrl(number).) and nothing in the logs
var paragraphText = paragraph.getLinkUrl(2);
Can someone please help me understand how to use the getLinkUrl(offset)?
Thanks for your help!