Example #1
0
        public static ActionHide Create(bool indirect, AnnotationVarCollection annots)
        {
            ActionHide hide1 = ActionHide.Create(indirect);

            hide1.Annotations = annots;
            return(hide1);
        }
Example #2
0
        public static ActionHide Create(AnnotationVarCollection annots)
        {
            ActionHide hide1 = ActionHide.Create(true);

            hide1.Annotations = annots;
            return(hide1);
        }
Example #3
0
        public static ActionHide Create(bool indirect, AnnotationVar annot)
        {
            ActionHide hide1 = ActionHide.Create(indirect);
            AnnotationVarCollection collection1 = new AnnotationVarCollection(hide1.Dict, "T", true);

            collection1.Add(annot);
            hide1.Annotations = collection1;
            hide1.Hide        = true;
            return(hide1);
        }
Example #4
0
        private static ActionHide Create(bool indirect)
        {
            PDFDict dict1 = Library.CreateDict();

            dict1["S"] = Library.CreateName("Hide");
            ActionHide hide1 = (Resources.Get(dict1, typeof(ActionHide)) as ActionHide);

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