public void Load(gView.Framework.IO.IPersistStream stream) { MinValue = (double)stream.Load("MinValue", 0.0); MaxValue = (double)stream.Load("MaxValue", 0.0); Color = ArgbColor.FromArgb((int)stream.Load("Color", ArgbColor.White.ToArgb())); Legend = (string)stream.Load("Legend", String.Empty); }
public void Load(gView.Framework.IO.IPersistStream stream) { _useRefScale = (bool)stream.Load("UseRefScale", true); _rules.Clear(); Rule rule; while ((rule = (Rule)stream.Load("Rule", null, new Rule())) != null) { _rules.Add(rule); } }
public void Load(gView.Framework.IO.IPersistStream stream) { this.Release(); _valueField = (string)stream.Load("field", ""); _defaultSymbol = (ISymbol)stream.Load("default"); QuantityClass qClass; while ((qClass = (QuantityClass)stream.Load("qClass", null, new QuantityClass())) != null) { _quantityClasses.Add(qClass); } }
public void Load(gView.Framework.IO.IPersistStream stream) { _directory = (string)stream.Load("Directory"); if (_directory == null) { _directory = ""; } }
public void Load(gView.Framework.IO.IPersistStream stream) { _dataset = null; string connectionString = (string)stream.Load("ConnectionString", String.Empty); if (connectionString != String.Empty) { _dataset = new WMSDataset(); _dataset.ConnectionString = connectionString; } }
public void Load(gView.Framework.IO.IPersistStream stream) { _symbol = (UniversalGeometrySymbol)stream.Load("Symbol", new UniversalGeometrySymbol(UniversalGeometrySymbol.SymbolType.normal), new UniversalGeometrySymbol(UniversalGeometrySymbol.SymbolType.normal)); _symbolRotation = (SymbolRotation)stream.Load("SymbolRotation", _symbolRotation, _symbolRotation); }