BoundsMapView Example - C# - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-03-07
ft:lastPublication
2025-03-07T10:28:48.112000

The following shows a C# example that returns a BoundsMapView object.


public static BoundsMapView createBoundMapView()
{
    BoundsMapView bmv = new BoundsMapView();
    bmv.Bounds = BuildGeometry.buildEnvelope();
    bmv.Height = 600;
    bmv.Width = 800;
    bmv.unit = PaperUnit.Pixel;
    //sets the map resolution. If not specified, the default one is set to 96 DPI
    //bmv.mapResolution = 200;

    return bmv;
}