public static ActionHide Create(bool indirect, AnnotationVarCollection annots) { ActionHide hide1 = ActionHide.Create(indirect); hide1.Annotations = annots; return(hide1); }
public static ActionHide Create(AnnotationVarCollection annots) { ActionHide hide1 = ActionHide.Create(true); hide1.Annotations = annots; return(hide1); }
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); }