Re: How to insert a hyperlink rectangle at a desired position
iText mailing list <[email protected]> Thu, 4 Aug 2016 16:52:56 +0200
| Newsgroups | gmane.comp.java.lib.itext.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============2777233590277574774==
Content-Type: multipart/alternative;
boundary="------------5FC205C32709B8D7665BDAF9"
This is a multi-part message in MIME format.
--------------5FC205C32709B8D7665BDAF9
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
On 8/4/2016 14:36 PM, Shaning Yu wrote:
>
> Using the code posted at
> http://stackoverflow.com/questions/38568690/how-to-insert-a-itextsharp-text-rectangle-rectangle-at-an-absolute-position,
> I can create a hyperlink in the generated PDF. However, the Hyperlink
> rectangle is ALWAYS at the bottom-left of the generated PDF no matter
> how I change the x & y values in the Rectangle arguments (int x, int
> y, int width, int height). Could someone provide his/her advisory how
> to insert the Rectangle at a desired position?
>
You didn't tag your question as an iText question, hence it passed
unnoticed by the people monitoring iText questions on StackOverflow. I
will update your question, but I don't have the time to answer it right now.
--------------5FC205C32709B8D7665BDAF9
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 8/4/2016 14:36 PM, Shaning Yu wrote:<br>
</div>
<blockquote
cite="mid:CO1PR06MB348744DA79A9000BCD44939A4070@CO1PR06MB348.namprd06.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.comment-copy
{mso-style-name:comment-copy;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Using the code posted at <a
moz-do-not-send="true"
href="http://stackoverflow.com/questions/38568690/how-to-insert-a-itextsharp-text-rectangle-rectangle-at-an-absolute-position"><a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/38568690/how-to-insert-a-itextsharp-text-rectangle-rectangle-at-an-absolute-position">http://stackoverflow.com/questions/38568690/how-to-insert-a-itextsharp-text-rectangle-rectangle-at-an-absolute-position</a></a>,
I can create a hyperlink in the generated PDF.
<span class="comment-copy">However, the Hyperlink rectangle is
ALWAYS at the bottom-left of the generated PDF no matter how
I change the x & y values in the Rectangle arguments
(int x, int y, int width, int height). Could someone provide
his/her advisory how to insert the Rectangle at a desired
position?</span></p>
</div>
</blockquote>
<br>
You didn't tag your question as an iText question, hence it passed
unnoticed by the people monitoring iText questions on StackOverflow.
I will update your question, but I don't have the time to answer it
right now.<br>
</body>
</html>
--------------5FC205C32709B8D7665BDAF9--
--===============2777233590277574774==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
--===============2777233590277574774==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
--===============2777233590277574774==--