Ejemplo n.º 1
0
        public static ActionHide Create(bool indirect, AnnotationVarCollection annots)
        {
            ActionHide hide1 = ActionHide.Create(indirect);

            hide1.Annotations = annots;
            return(hide1);
        }
Ejemplo n.º 2
0
        public static ActionHide Create(AnnotationVarCollection annots)
        {
            ActionHide hide1 = ActionHide.Create(true);

            hide1.Annotations = annots;
            return(hide1);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }