Nevron Forum
Home
»
Nevron Open Vision for NET
»
NOV Text Editor for .NET
»
Inset HyperlinkText To Header
Login
Register
Login
Register
Home
»
Nevron Open Vision for NET
»
NOV Text Editor for .NET
»
Inset HyperlinkText To Header
Inset HyperlinkText To Header
Post Reply
Inset HyperlinkText To Header
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Chris Dolan
Chris Dolan
posted 6 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 10,
Visits: 31
How do I add this programatically?
Am using the Visual Component with CommandBars.
Thanks in advance.
Chris
Tags
insert
richtextbox
Reply
Like
0
Nevron Support
Nevron Support
posted 6 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.1K
Hi Chris,
It is basically the same as adding content to a section:
NSection section = nRichTextViewWithCommandBarsControl1.Widget.View.Content.Sections[0];
NHeaderFooter header = new NHeaderFooter();
section.Header = header;
NParagraph par1 = new NParagraph();
NHyperlinkInline hyperlink = new NHyperlinkInline();
hyperlink.Text = "Google";
hyperlink.Hyperlink = new NUrlHyperlink("
https://www.google.com");
par1.Inlines.Add(hyperlink);
header.Blocks.Add(par1);
The only difference is that you need to place the objects in the section header / footer Blocks collection instead of the section blocks. Let us know if you meet any problems or have any questions.
Best Regards,
Nevron Support Team
Reply
Like
0
Chris Dolan
Chris Dolan
posted 6 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 10,
Visits: 31
That works well,
The only problem is on saving as a PDF the link is no longer a link.
Is that a bug?
Chris
Reply
Like
0
Nevron Support
Nevron Support
posted 6 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.1K
Hi Chris,
Yes it is a problem with the PDF export which we'll fix for the upcoming 2019.1 version of the control.
Best Regards,
Nevron Support Team
Reply
Like
0
Chris Dolan
Chris Dolan
posted 6 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 10,
Visits: 31
Is there any workaround? I am happy to test any updated DLL please let me know what to do next.
Reply
Like
0
Nevron Support
Nevron Support
posted 6 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.1K
Hi Chris,
We're currently implementing it - will let you know as soon as an update is available (in the next couple of days).
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
2 active, 2 guests, 0 members, 0 anonymous
No members currently viewing this topic!
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search