internal bool IsInAP(PdfDictionary dic, PdfName check) { PdfDictionary appDic = dic.GetAsDict(PdfName.AP); if (appDic == null) return false; PdfDictionary NDic = appDic.GetAsDict(PdfName.N); return (NDic != null && NDic.Get(check) != null); }