Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageLayer"/> class by opening the specified fileName, relaying progress to the
 /// specified handler, and automatically adds the new layer to the specified container.
 /// </summary>
 /// <param name="fileName">The fileName to open.</param>
 /// <param name="progressHandler">A ProgressHandler that can receive progress updates.</param>
 /// <param name="container">The layer list that should contain this image layer.</param>
 public ImageLayer(string fileName, IProgressHandler progressHandler, ICollection <ILayer> container)
     : base(container)
 {
     Symbolizer = new ImageSymbolizer();
     DataSet    = DataManager.DefaultDataManager.OpenImage(fileName, progressHandler);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageLayer"/> class that needs to be configured later.
 /// </summary>
 public ImageLayer()
 {
     Symbolizer = new ImageSymbolizer();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageLayer"/> class by opening the specified fileName.
 /// </summary>
 /// <param name="fileName">The fileName to open.</param>
 public ImageLayer(string fileName)
 {
     Symbolizer = new ImageSymbolizer();
     DataSet    = DataManager.DefaultDataManager.OpenImage(fileName);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Creates a new instance of GeoImageLayer
 /// </summary>
 public ImageLayer(IImageData baseImage)
 {
     Symbolizer = new ImageSymbolizer();
     DataSet    = baseImage;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Creates a new instance of a GeoImageLayer
 /// </summary>
 /// <param name="baseImage">The image to draw as a layer</param>
 /// <param name="container">The Layers collection that keeps track of the image layer</param>
 public ImageLayer(IImageData baseImage, ICollection <ILayer> container)
     : base(container)
 {
     Symbolizer = new ImageSymbolizer();
     DataSet    = baseImage;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Creates a new instance of a GeoImageLayer
 /// </summary>
 /// <param name="baseImage">The image to draw as a layer</param>
 /// <param name="container">The Layers collection that keeps track of the image layer</param>
 public ImageLayer(IImageData baseImage, ICollection<ILayer> container)
     : base(container)
 {
     Symbolizer = new ImageSymbolizer();
     DataSet = baseImage;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Creates a new instance of the image layer by opening the specified fileName and
 /// relaying progress to the specified handler.
 /// </summary>
 /// <param name="fileName">The fileName to open</param>
 /// <param name="progressHandler">The progressHandler</param>
 public ImageLayer(string fileName, IProgressHandler progressHandler)
 {
     Symbolizer = new ImageSymbolizer();
     DataSet    = DataManager.DefaultDataManager.OpenImage(fileName, progressHandler);
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Creates a new instance of GeoImageLayer
 /// </summary>
 public ImageLayer(IImageData baseImage)
 {
     Symbolizer = new ImageSymbolizer();
     DataSet = baseImage;
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Creates a new instance of the image layer by opening the specified fileName and
 /// relaying progress to the specified handler.
 /// </summary>
 /// <param name="fileName">The fileName to open</param>
 /// <param name="progressHandler">The progressHandler</param>
 public ImageLayer(string fileName, IProgressHandler progressHandler)
 {
     Symbolizer = new ImageSymbolizer();
     DataSet = DataManager.DefaultDataManager.OpenImage(fileName, progressHandler);
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Creates a new instance of the ImageLayer by opening the specified fileName, relaying progress to the
 /// specified handler, and automatically adds the new layer to the specified container.
 /// </summary>
 /// <param name="fileName">The fileName to open</param>
 /// <param name="progressHandler">A ProgressHandler that can receive progress updates</param>
 /// <param name="container">The layer list that should contain this image layer</param>
 public ImageLayer(string fileName, IProgressHandler progressHandler, ICollection<ILayer> container)
     : base(container)
 {
     Symbolizer = new ImageSymbolizer();
     DataSet = DataManager.DefaultDataManager.OpenImage(fileName, progressHandler);
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Creates a new instance of the ImageLayer by opening the specified fileName
 /// </summary>
 /// <param name="fileName"></param>
 public ImageLayer(string fileName)
 {
     Symbolizer = new ImageSymbolizer();
     DataSet = DataManager.DefaultDataManager.OpenImage(fileName);
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Creates a blank image layer that needs to be configured later.
 /// </summary>
 public ImageLayer()
 {
     Symbolizer = new ImageSymbolizer();
 }