Aspose.Slides for .NET API - c#

Can anyone explain the difference between
SetExternalHyperlinkMouseOver and
SetExternalHyperlinkClick?
I am trying to add a tool tip text along with redirection hyperlink in an Aspose slide text using C#. But I'm unable to understand what the difference between SetExternalHyperlinkMouseOver and SetExternalHyperlinkClick is.

SetExternalHyperlinkMouseOver sets the mouse over text shown by the PDF.
SetExternalHyperlinkClick however sets what url will be followed when the hyperlink is clicked.
Does that clear things up?

Related

Alignment Issue in telerik editor

I am using telerik editor(in asp.net), I am trying to write some content in that, some words or content are place on right hand side using tab key (i.e 4 time ).
At design time it display properly but when I print that document the right hand side words goes to the next line or some time it comes in middle of the page.
how I can solve this alignment problem??
1.before print(i.e design time in editor)
1.after print(i.e A4 page image after print)
thank you.
You have two options as I see it:
Define your own Print.css file and follow the instructions on this Telerik documentation page to ensure the print CSS is used. This will ensure printing is consistent and any stripping of CSS done by the browser is avoided.
Generate a PDF from the Telerik editor, and print the PDF. See this Telerik documentation page with demo code for more details on how to generate a PDF from the Telerik ASP.net RadEditor control.

How Can I add border on every page of PDF file using Wkhtmltopdf?

I am trying to convert html to pdf using wkhtmltopdf and I have done with it.But I din found any property to add page border in every page .Is there any solution to add page border on every page in Pdf file??
Thanks.
Do you mean just like a single color border around the page, touching the edges of the paper? This is very, very difficult with wkhtmltopdf, I would not use it do something like this. Maybe generate the file and "stamp" the borders with a different tool, for example iText (or iTextSharp seeing that you have a .net project) http://itextpdf.com/examples/iia.php?id=119
There's this question of SO: wkhtmltopdf with full page background which basically deals with your issue - trying to set a full page background, which is similar to what you are trying to achieve. You can evaluate the answers, but I think that it's not really an exact science or a reliable method to twist wkhtmltopdf into doing this.

Convert a div and contents inside it to image

I have a DIV container which has some text, background-image, image. I need to convert that whole DIV contents into image and save.
I have googled it around but could not find the perfect answer. some are giving answers that uses a windows application , but i need it on a web platform .
any help will be highly appreciated
From what I understood, you have to do that in the client side, so you should take a look at the toDataURL method of the canvas.
If you don't know, the canvas support text and image.
Example and little library at this link:
http://www.nihilogic.dk/labs/canvas2image/
http://html2canvas.hertzen.com/
Does't support IE though. Looks solid other than that.
This is possible, with modification to the code here http://html2canvas.hertzen.com/screenshots.html you could perform the required screenshot :)

Mimic Excel Text Import wizard in Winforms

I have a requirement to paste the clipboard data to a textbox and split the data into columns as what we can do in Excel Text Import wizard.
Can anybody suggest me a starting point to get hold of this?
an idea can be put each character of first line of the text in many TextBox control which created and arranged horizontally in a windows form so an user can separate line by clicking on each text box to show the breaking points
I've found some old CPP code for a control here:
http://www.codeproject.com/KB/miscctrl/separator_ctrl.aspx
I'm still trying to find an updated version for .NET. (I'm not sure I have the time to try to convert this, myself.)

Highlight text in a pdf file embedded in a site using C#

I need to render pdf file in a webbrowser then highlight some words on it.
How can i do it? any sure 3rd party dll that i can use for this?
Thank,
Jepe
I am using "URL Parameters" as in PDF Open Parameters to get to a certain PDF Page or bookmark. There is something for highlighting too, but not searching and highlighting AFAIK. I also do have some issue (see Fragment lost ) using it with the WinForm WebBrowser control, nevertheless I find the approach useful.

Categories

Resources