public static List <ViewFrameLabel> GetViewFrameLabels(Autodesk.AutoCAD.DynamoNodes.Document document)
        {
            List <ViewFrameLabel> retLabels = new List <ViewFrameLabel>();

            foreach (DBObject dbObj in GetLabelStylesAsDBObjects(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.ViewFrameLabelStyles.LabelStyles))
            {
                ViewFrameLabel labelObject = new ViewFrameLabel(dbObj, false);
                retLabels.Add(labelObject);
            }
            return(retLabels);
        }
        public static ViewFrameLabel ByName(Autodesk.AutoCAD.DynamoNodes.Document document, string labelStyleName)
        {
            ViewFrameLabel retLabel = new ViewFrameLabel(DBObjectByName(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.ViewFrameLabelStyles.LabelStyles, labelStyleName), false);

            return(retLabel);
        }
        public static ViewFrameLabel ByIndex(Autodesk.AutoCAD.DynamoNodes.Document document, int index)
        {
            ViewFrameLabel retLabel = new ViewFrameLabel(DBObjectByIndex(document, CivilDocument.GetCivilDocument(document.AcDocument.Database).Styles.LabelStyles.ViewFrameLabelStyles.LabelStyles, index), false);

            return(retLabel);
        }