Exemplo n.º 1
0
		public void CopyFrom(XS_diagramType diagramType_in) {
			int _index = -1;

			dia_ = diagramType_in.dia_;
			layercollection_.Clear();
			for (int d = 0; d < diagramType_in.layercollection_.Count; d++) {
				layercollection_.Add(
					out _index,
					new XS_layerType()
				);
				layercollection_[_index].CopyFrom(
					diagramType_in.layercollection_[d]
				);
			}
		}
Exemplo n.º 2
0
        public void CopyFrom(XS_diagramType diagramType_in)
        {
            int _index = -1;

            this.dia_ = diagramType_in.dia_;
            this.layercollection_.Clear();
            for (int d = 0; d < diagramType_in.layercollection_.Count; d++)
            {
                this.layercollection_.Add(
                    out _index,
                    new XS_layerType()
                    );
                this.layercollection_[_index].CopyFrom(
                    diagramType_in.layercollection_[d]
                    );
            }
        }