public static PdfAction GotoEmbedded(String filename, PdfTargetDictionary target, String dest, bool isName, bool newWindow) { if (isName) return GotoEmbedded(filename, target, new PdfName(dest), newWindow); else return GotoEmbedded(filename, target, new PdfString(dest, null), newWindow); }