I would like to know if it is possible to put text on top of a image in a PDFPCell on ITextSharp.
Thanks.
Related
Imagine a pdf with text and a application that test images over the text.
In every test pdf is saved and the next test using same pdf.
The first time you add image under text you can see the results, next time you will try you add image under is not appear because first image cover it.
So...exists something GetBetween or can i choose the layer that i want?
If i use GetUnderContent only first image appears and all others are hide.
If i use GetOverContent then the text is covered by image.
After adding the text watermark and clicking on the PDF, Acrobat reader will display a large blinking cursor that looks more like a rendering artifact or start selecting the watermark text.
Can the watermark text be made non-selectable?
The watermark is a large "Draft" text under the existing content: using c# itextsharp PDF creation with watermark on each page
To my knowledge there is no way to make text non-selectable.
As an alternative to the large blinking cursor you may instead put an image of your watermark on the PDF. This would instead give a small cross-hair cursor when you mouse over the watermark image.
Example:
How can I insert an image with iTextSharp in an existing PDF?
I am trying to implement a form much like the iPad's Data Plan Registration form. I am having a problem creating the vertical separator between my form's Labels and Fields. In the example below I'm trying to implement the vertical field/label separator in each section. Thanks for any help. I've searched the forums and looked at lots of tutorials, but have found none that address this specific question.
My Example will be weak since I'm not allowed to post an image...
Using UITableView...
---------------------------------------------
First Name | UITextField
---------------------------------------------
Last Name | UITextField
---------------------------------------------
Thanks again for reading this post.
GuyT
Per the recommendation from M42 I wanted to provide the answer that I used for my question.
My solution comes by using UITableViewCellStyle set to Custom. To implement a custom layout, first you will need to create a PNG image 5px x 200px to create a vertical separator line. When creating the image, be sure to choose a line color that will match the UITableView Cell Lines. Once created, add the PNG file to your project and then customize the cell layout by adding a UILabel, a UIImageView and a UITextField. Set the UIImageView's image property to the image you created. Be sure the image view reaches the top and bottom edge of your cell lines.
I would need to insert images in a pdf and then put text on top of the image at certain coordinates.
Is this possible with iTextSharp?
Yes you can.
The key is to set your iTextSharp.text.Image Alignment property to iTextSharp.text.Image.UNDERLYING.
This page on mikesdotnetting.com has an example.
Is is possible with label that the text which we want to display it comes to top of the label.
I want the text on the at the top of the Label then how is possible?
Apparently yes, here's a thread discussing(and apparently solving the problem) how to do vertical text alignment in a UILabel, including text that starts on top of the label and proceeds to filling it as more lines are added.