コード例 #1
0
        public IPlugin CreateUsing(PluginParameter args)
        {
            var file = new GeoDaxFile(args.Filename);

            Viewer = new GeoDaxFileViewer(file, args.ContainerWidth, args.Zoom);
            return(this);
        }
コード例 #2
0
ファイル: GeoDaxFileViewer.cs プロジェクト: bsimser/goldbox
 public GeoDaxFileViewer(GeoDaxFile goldBoxFile, int containerWidth, float zoom)
 {
     ContainerWidth = containerWidth;
     _goldBoxFile = goldBoxFile;
     Zoom = zoom;
     
 }
コード例 #3
0
 public GeoDaxFileViewer(GeoDaxFile goldBoxFile, int containerWidth, float zoom)
 {
     ContainerWidth = containerWidth;
     _goldBoxFile   = goldBoxFile;
     Zoom           = zoom;
 }
コード例 #4
0
ファイル: GeoDaxPlugin.cs プロジェクト: bsimser/goldbox
 public IPlugin CreateUsing(PluginParameter args)
 {
     var file = new GeoDaxFile(args.Filename);
     Viewer = new GeoDaxFileViewer(file, args.ContainerWidth, args.Zoom);
     return this;
 }