Example #1
0
        ///
        ///	 <summary> * add an element x y to the Range attribute as a JDFRange
        ///	 *  </summary>
        ///	 * <param name="JDFShape"> shape1 the Range value </param>
        ///	 * <param name="JDFShape"> shape2 the Range value </param>
        ///
        public virtual void addRange(JDFShape shape1, JDFShape shape2)
        {
            JDFShapeRangeList srl = getRange();

            srl.Append(shape1, shape2);
            setRange(srl);
        }
Example #2
0
        ///
        ///          <summary> * (20) get JDFShapeRangeList attribute ValueList </summary>
        ///          * <returns> JDFShapeRangeList the value of the attribute, null if a the
        ///          *         attribute value is not a valid to create a JDFShapeRangeList </returns>
        ///
        public virtual JDFShapeRangeList getValueList()
        {
            string            strAttrName  = "";
            JDFShapeRangeList nPlaceHolder = null;

            strAttrName = getAttribute(AttributeName.VALUELIST, null, JDFConstants.EMPTYSTRING);
            try
            {
                nPlaceHolder = new JDFShapeRangeList(strAttrName);
            }
            catch (FormatException)
            {
                return(null);
            }
            return(nPlaceHolder);
        }
Example #3
0
 public virtual void setRange(JDFShapeRangeList @value)
 {
     setAttribute(AttributeName.RANGE, @value.ToString());
 }