iTextSharp.text.pdf.PdfAction.GotoRemotePage C# (CSharp) Метод

GotoRemotePage() публичный статический Метод

public static GotoRemotePage ( String filename, String dest, bool isName, bool newWindow ) : PdfAction
filename String
dest String
isName bool
newWindow bool
Результат PdfAction
        public static PdfAction GotoRemotePage(String filename, String dest, bool isName, bool newWindow)
        {
            PdfAction action = new PdfAction();
            action.Put(PdfName.F, new PdfString(filename));
            action.Put(PdfName.S, PdfName.GOTOR);
            if (isName)
                action.Put(PdfName.D, new PdfName(dest));
            else
                action.Put(PdfName.D, new PdfString(dest, null));
            if (newWindow)
                action.Put(PdfName.NEWWINDOW, PdfBoolean.PDFTRUE);
            return action;
        }