¡@

Home 

c# Programming Glossary: pdfname

Get the export value of a checkbox using iTextSharp

http://stackoverflow.com/questions/4491156/get-the-export-value-of-a-checkbox-using-itextsharp

0 PdfDictionary appearanceDict valueDict.GetAsDict PdfName.AP if there's an appearance dict at all one key will be Off.. there should only be two. if appearanceDict null foreach PdfName curKey in appearanceDict.Keys if PdfName.OFF.Equals curKey.. null foreach PdfName curKey in appearanceDict.Keys if PdfName.OFF.Equals curKey return curKey.ToString string will have..

How do I extract attachments from a pdf file?

http://stackoverflow.com/questions/6305505/how-do-i-extract-attachments-from-a-pdf-file

root reader.getCatalog PdfDictionary names root.getAsDict PdfName.NAMES may be null PdfArray embeddedFiles names.getAsArray PdfName.EMBEDDEDFILES.. may be null PdfArray embeddedFiles names.getAsArray PdfName.EMBEDDEDFILES may be null int len embeddedFiles.size for int.. be null int len embeddedFiles.size for int i 0 i len i 2 PdfName name embeddedFiles.getAsName i should always be present PdfDictionary..

using ITextSharp to extract and update links in an existing PDF

http://stackoverflow.com/questions/8140339/using-itextsharp-to-extract-and-update-links-in-an-existing-pdf

to use PdfDictionary objects and look things up by their PdfName key. Once you get that you can read through the official PDF.. for the current page Annots PageDictionary.GetAsArray PdfName.ANNOTS Make sure we have something if Annots null Annots.Length.. this annotation has a link if AnnotationDictionary.Get PdfName.SUBTYPE .Equals PdfName.LINK continue Make sure this annotation..