예제 #1
0
        public static ActionGotoR Create(bool indirect, string file, LinkDestination dest)
        {
            ActionGotoR or1 = ActionGotoR.Create(indirect);

            or1.FileSpecification = new FileSpec(Library.CreateString(file));
            or1.JumpDestination   = dest;
            return(or1);
        }
예제 #2
0
        public static ActionGotoR Create(string file, LinkDestination dest, bool newWindow)
        {
            ActionGotoR or1 = ActionGotoR.Create(true);

            or1.FileSpecification = new FileSpec(Library.CreateString(file));
            or1.JumpDestination   = dest;
            or1.NewWindow         = newWindow;
            return(or1);
        }
예제 #3
0
        private static ActionGotoR Create(bool indirect)
        {
            PDFDict dict1 = Library.CreateDict();

            dict1["S"] = Library.CreateName("GoToR");
            ActionGotoR or1 = (Resources.Get(dict1, typeof(ActionGotoR)) as ActionGotoR);

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