seedy wrote: > I was able to get the rotation with the following code: > > Dim widgetDict As PdfDictionary = Nothing > Dim mkDict As PdfDictionary = Nothing > Dim rNum As PdfNumber = Nothing > widgetDict = afi.widgets(0) > If Not widgetDict Is Nothing Then > mkDict = widgetDict.GetAsDict(PdfName.MK) > If Not mkDict Is Nothing Then > rNum = mkDict.GetAsNumber(PdfName.R) > If Not rNum Is Nothing Then > return = rNum.DoubleValue > End If > End If > End If > > But I am not checking that bit you referred to. Do you anticipate any > problems with the way it is here?
Ow... I probably answered too quickly. The bit tells you if the annotation has to adapt its rotation to the rotation of the page. That may not be important for you. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
