Ejemplo n.º 1
0
        public static ActionGoto Create(bool indirect, LinkDestination dest)
        {
            ActionGoto goto1 = ActionGoto.Create(indirect);

            goto1.JumpDestination = dest;
            return(goto1);
        }
Ejemplo n.º 2
0
        public static ActionGoto Create(LinkDestination dest)
        {
            ActionGoto goto1 = ActionGoto.Create(true);

            goto1.JumpDestination = dest;
            return(goto1);
        }
Ejemplo n.º 3
0
        private static ActionGoto Create(bool indirect)
        {
            PDFDict dict1 = Library.CreateDict();

            dict1["S"] = Library.CreateName("GoTo");
            ActionGoto goto1 = (Resources.Get(dict1, typeof(ActionGoto)) as ActionGoto);

            if (indirect)
            {
                Library.CreateIndirect(dict1);
            }
            return(goto1);
        }