Beispiel #1
0
        protected override IDisposable GetImage(IEditableFrame Editor, out Size Size)
        {
            if (_bmp == null)
            {
                _bmp = Editor.LoadBitmap(Settings.Source, out _size);
            }

            Size = _size;

            return(_bmp);
        }
 IBitmapImage GetImage(IEditableFrame Editor)
 {
     return(_bmp ??= Editor.LoadBitmap(_settings.Source));
 }
Beispiel #3
0
 protected override IBitmapImage GetImage(IEditableFrame Editor)
 {
     return(_bmp ??= Editor.LoadBitmap(Settings.Source));
 }