public void Save(gView.Framework.IO.IPersistStream stream) { stream.Save("textSymbol", _textSymbol); stream.Save("lineSymbol", _lineSymbol); stream.Save("capType", _capType); stream.Save("format", _format); }
public void Save(gView.Framework.IO.IPersistStream stream) { if (_dataset == null) { return; } stream.Save("ConnectionString", _dataset.ConnectionString); }
public void Load(gView.Framework.IO.IPersistStream stream) { this.Release(); _textSymbol = stream.Load("textSymbol", null) as ITextSymbol; _lineSymbol = stream.Load("lineSymbol", null) as ILineSymbol; _capType = (lineCapType)stream.Load("capType", lineCapType.ArrowLine); _format = (string)stream.Load("format", String.Empty); }
public void Save(gView.Framework.IO.IPersistStream stream) { stream.Save("fcid", _fcId); stream.Save("fieldname", _fieldName); if (_calc != null) { stream.Save("calc", _calc); } }
public void Load(gView.Framework.IO.IPersistStream stream) { _values.Clear(); object o; while ((o = stream.Load("Value", null)) != null) { _values.Add(o); } }
public Task <bool> LoadAsync(gView.Framework.IO.IPersistStream stream) { _directory = (string)stream.Load("Directory"); if (_directory == null) { _directory = ""; } return(Task.FromResult(true)); }
public void Load(gView.Framework.IO.IPersistStream stream) { _dataset = null; string connectionString = (string)stream.Load("ConnectionString", String.Empty); if (connectionString != String.Empty) { _dataset = new MapServerDataset(); _dataset.ConnectionString = connectionString; } }
public void Save(gView.Framework.IO.IPersistStream stream) { foreach (object o in _values) { if (o == null) { continue; } stream.Save("Value", o); } }
public void Save(gView.Framework.IO.IPersistStream stream) { stream.Save("name", _name); stream.Save("guid", _guid.ToString()); stream.Save("datatype", (int)_dataType); foreach (IGraphWeightFeatureClass gwfc in _gwfcs) { stream.Save("IGraphWeightFeatureClass", gwfc); } }
public override void Load(gView.Framework.IO.IPersistStream stream) { base.Load(stream); _text = (string)stream.Load("Text", "Text"); SimpleTextSymbol sym = stream.Load("ISymbol", null) as SimpleTextSymbol; if (sym != null) { _symbol.Release(); _symbol = sym; } }
public void Save(gView.Framework.IO.IPersistStream stream) { if (_dbConnString != null) { stream.Save("DbConnectionString", _dbConnString); } if (_sql != null) { stream.Save("SqlStatement", _sql); } }
public void Load(gView.Framework.IO.IPersistStream stream) { _name = (string)stream.Load("name", String.Empty); _guid = new Guid((string)stream.Load("guid", new Guid())); _dataType = (GraphWeightDataType)stream.Load("datatype", (int)GraphWeightDataType.Double); IGraphWeightFeatureClass gwfc; while ((gwfc = (IGraphWeightFeatureClass)stream.Load("IGraphWeightFeatureClass", null, new GraphWeightFeatureClass())) != null) { _gwfcs.Add(gwfc); } }
public void Load(gView.Framework.IO.IPersistStream stream) { _fieldname = (string)stream.Load("Fieldname"); _sizeField = (string)stream.Load("Sizefield"); _fontField = (string)stream.Load("Fontfield"); _expression = (string)stream.Load("Expression", ""); _useExpression = (bool)stream.Load("UseExpression", false); _symbol = (ITextSymbol)stream.Load("Symbol"); _howManyLabels = (howManyLabels)stream.Load("howManyLabels", (int)howManyLabels.one_per_feature); _labelPriority = (labelPriority)stream.Load("labelPriority", (int)labelPriority.normal); _lineLabelling = (CartographicLineLabeling)stream.Load("lineLabelling", (int)CartographicLineLabeling.Parallel); _symbolRotation = (SymbolRotation)stream.Load("SymbolRotation", _symbolRotation, _symbolRotation); }
public void Save(gView.Framework.IO.IPersistStream stream) { stream.Save("Fieldname", _fieldname); stream.Save("Sizefield", _sizeField); stream.Save("Fontfield", _fontField); stream.Save("Expression", _expression); stream.Save("UseExpression", _useExpression); stream.Save("Symbol", _symbol); stream.Save("howManyLabels", (int)_howManyLabels); stream.Save("labelPriority", (int)_labelPriority); stream.Save("lineLabelling", (int)_lineLabelling); if (_symbolRotation.RotationFieldName != "") { stream.Save("SymbolRotation", _symbolRotation); } }
public void Save(gView.Framework.IO.IPersistStream stream) { stream.Save("multiplicator", _multiplicator); stream.Save("zvr", _zeroValue); }
public override void Load(gView.Framework.IO.IPersistStream stream) { base.Load(stream); this.Symbol = (ISymbol)stream.Load("ISymbol", this.Symbol); }
public void Save(gView.Framework.IO.IPersistStream stream) { stream.Save("func", _function); }
public override void Save(gView.Framework.IO.IPersistStream stream) { base.Save(stream); stream.Save("Text", _text); stream.Save("ISymbol", _symbol); }
public override void Save(gView.Framework.IO.IPersistStream stream) { base.Save(stream); stream.Save("ISymbol", this.Symbol); }
public void Load(gView.Framework.IO.IPersistStream stream) { this.DbConnectionString = (gView.Framework.Db.DbConnectionString)stream.Load("DbConnectionString", null, new DbConnectionString()); this.SqlStatement = (string)stream.Load("SqlStatement", String.Empty); }
public void Load(gView.Framework.IO.IPersistStream stream) { _constValue = (double)stream.Load("constvalue", (double)1.0); }
public void Load(gView.Framework.IO.IPersistStream stream) { _function = (string)stream.Load("func", "x"); }
public void Save(gView.Framework.IO.IPersistStream stream) { stream.Save("constvalue", _constValue); }
public void Load(gView.Framework.IO.IPersistStream stream) { _multiplicator = (double)stream.Load("multiplicator", 1.0); _zeroValue = (double)stream.Load("zvr", (double)1.0); }
public void Save(gView.Framework.IO.IPersistStream stream) { stream.Save("minValue", _minValue); stream.Save("maxValue", _maxValue); }
public void Load(gView.Framework.IO.IPersistStream stream) { _fcId = (int)stream.Load("fcid", -1); _fieldName = (string)stream.Load("fieldname", String.Empty); _calc = stream.Load("calc", null) as ISimpleNumberCalculation; }
public void Load(gView.Framework.IO.IPersistStream stream) { _zeroValue = (double)stream.Load("zvr", (double)1.0); }
public void Save(gView.Framework.IO.IPersistStream stream) { stream.Save("Directory", _directory); }
public void Save(gView.Framework.IO.IPersistStream stream) { stream.Save("zvr", _zeroValue); }
public void Load(gView.Framework.IO.IPersistStream stream) { _minValue = (double)stream.Load("minValue", double.MinValue); _maxValue = (double)stream.Load("maxValue", double.MaxValue); }