Example #1
0
 /// <summary>
 /// Retrieves the persistable properties of <see cref="T:Dataweb.NShape.Advanced.TextBase" />.
 /// </summary>
 new public static IEnumerable <EntityPropertyDefinition> GetPropertyDefinitions(int version)
 {
     foreach (EntityPropertyDefinition pi in RectangleBase.GetPropertyDefinitions(version))
     {
         yield return(pi);
     }
     yield return(new EntityFieldDefinition("AutoSize", typeof(bool)));
 }
Example #2
0
        /// <summary>
        /// Retrieves the persistable properties of <see cref="T:Dataweb.NShape.Advanced.ThickArrow" />.
        /// </summary>
        new public static IEnumerable <EntityPropertyDefinition> GetPropertyDefinitions(int version)
        {
            foreach (EntityPropertyDefinition pi in RectangleBase.GetPropertyDefinitions(version))
            {
                yield return(pi);
            }
            yield return(new EntityFieldDefinition("HeadWidth", typeof(int)));

            yield return(new EntityFieldDefinition("BodyHeight", typeof(int)));
        }