Highlighted

Getting Hyperlink information from ITextModel

Explorer ,
Mar 16, 2020

Copy link to clipboard

Copied

Hi

 

I am trying to read link information from ITextModel

I tried following code and gives me proper list of text range

 

RangeRefList list = Utils<IHyperlinkUtils>()->GetRangeContainedHyperlinks(iTextModel,start,length, IHyperlinkUtils::ContainedHyperlinkType::ContainedHyperlink_All);

long count = list.Length();

 

Along with above I wish to get destination data (DestType, Name, url (IHyperlinkDestination) also for that range 

)

 

Thanks

Topics

SDK

Views

85

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Getting Hyperlink information from ITextModel

Explorer ,
Mar 16, 2020

Copy link to clipboard

Copied

Hi

 

I am trying to read link information from ITextModel

I tried following code and gives me proper list of text range

 

RangeRefList list = Utils<IHyperlinkUtils>()->GetRangeContainedHyperlinks(iTextModel,start,length, IHyperlinkUtils::ContainedHyperlinkType::ContainedHyperlink_All);

long count = list.Length();

 

Along with above I wish to get destination data (DestType, Name, url (IHyperlinkDestination) also for that range 

)

 

Thanks

Topics

SDK

Views

86

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Have something to add?

Join the conversation