Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PictureSymbol"/> class given an existing imageData object.
 /// </summary>
 /// <param name="imageData">The imageData object to use.</param>
 public PictureSymbol(IImageData imageData)
 {
     SymbolType     = SymbolType.Picture;
     _opacity       = 1F;
     _image         = imageData.GetBitmap();
     _original      = _image;
     _imageFilename = imageData.Filename;
 }
 /// <summary>
 /// Creates a new PictureSymbol given an existing imageData object.
 /// </summary>
 /// <param name="imageData">The imageData object to use.</param>
 public PictureSymbol(IImageData imageData)
 {
     base.SymbolType = SymbolTypes.Picture;
     _opacity = 1F;
     _image = imageData.GetBitmap();
     _original = _image;
     _imageFilename = imageData.Filename;
 }