ComponentOne Reports for WPF
C1.C1Report.CustomFields Namespace / Map Class
Properties Methods Events

In This Topic
    Map Class Members
    In This Topic

    The following tables list the members exposed by Map.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the Map class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets how text is aligned within the field. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's vertical position relative to its containing Section. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets a value indicating whether to automatically center the map around the spatial data. Note that setting this property to false effectively turns off AutoZoom.

    The default is true.

     
    Public PropertyGets or sets a value indicating whether the map should automatically zoom in to just include all spatial data. Ignored (considered to be false) if AutoCenter is false.

    The default is true.

     
    Public PropertyGets or sets auto zoom latitude padding, in percent relative to the viewport height.

    The default is 10%.

     
    Public PropertyGets or sets auto zoom longitude padding, in percent relative to the viewport width.

    The default is 10%.

     
    Public PropertyGets or sets the field's background color. (Inherited from C1.C1Report.Field)
    Public PropertyAllows fields to be rendered in barcode format. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's border color. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's border style. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether the Text property should be interpreted as a literal value or as a calculated expression. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether the field height should be automatically increased to fit the field's contents. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether the field height should be automatically reduced to fit the field's contents. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the map center latitude. Ignored if AutoCenter is true.  
    Public PropertyGets or sets the map center longitude. Ignored if AutoCenter is true.  
    Public PropertySpecifies whether the field should be displayed as a checkbox. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's font. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether to insert page breaks before or after the field. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's foreground color. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets a string used to format the field value. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the path to the file used to cache spatial coordinates (longitude/latitude) specified as MapLocation rather than actual Longitude/Latitude values. The coordinates in such cases are retrieved using an online service such as Google, and caching them significantly imporoves performance when the same location is encountered multiple times.

    The path is relative to the application startup path.

    The default is "geocache.xml".

    Clear this value to disable caching (not recommended).

     
    Public PropertyGets or sets the height of the field in twips. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether duplicate values in consecutive records should be suppressed. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether the field should be kept together on a page. (Inherited from C1.C1Report.Field)
    Public PropertyGets the collection of styles used to render KML/KMZ items on the map. Styles allow KML items in different layers or even in different maps to use common visual properties.

    Note that the set accessor is only for deserialization, and should not be used directly.

     
    Public PropertyGets the collection of layers containing markers, lines and KML data rendered on the map.

    Note that the set accessor is only for deserialization, and should not be used directly.

     
    Public PropertyGets or sets the x-coordinate of the field's left edge in twips. (Inherited from C1.C1Report.Field)
    Public PropertyGets the collection of legends rendered on the map. Legends may represent layers or arbitrary information (such as captions).

    Note that the set accessor is only for deserialization, and should not be used directly.

     
    Public PropertySpecifies whether a line should be drawn across the field (as opposed to a box around the field). (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the line spacing between text lines in the field, in percent. The default is 100 which corresponds to normal line spacing.

    Note that this property is ignored if RTF is true.

    (Inherited from C1.C1Report.Field)
    Public PropertyGets the collection of styles used to render lines on the map. Styles allow lines in different layers or even in different maps to use common visual properties.

    Note that the set accessor is only for deserialization, and should not be used directly.

     
    Public PropertyGets or sets the width of the field's border or line. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets an expression that evaluates to a URL to be visited when the field is clicked. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the spacing between the bottom edge of the field and its content, in twips. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the spacing between the left edge of the field and its content, in twips. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the spacing between the right edge of the field and its content, in twips. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the spacing between the top edge of the field and its content, in twips. (Inherited from C1.C1Report.Field)
    Public PropertyGets the collection of styles used to render markers on the map. Styles allow markers in different layers or even in different maps to use common visual properties.

    Note that the set accessor is only for deserialization, and should not be used directly.

     
    Public PropertyGets or sets the maximum zoom level value for auto zooming. Valid values are from 0 to 20. 0 (the default) disables auto zoom limiting.  
    Public PropertyGets or sets the field name. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets a picture to display on the field. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets how field pictures should be the aligned. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets how images should be the scaled to fit within the field area. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets a value indicating whether right-to-left text rendering rules should be used. If null (which is the default), the property RightToLeft defined on the report is used. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets a value indicating whether to round automatically calculated zoom levels down to next integer.

    The default is true.

     
    Public PropertySpecifies whether the field should render string enclosed in curly brackets as RTF. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether to show a running sum for the field. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets an instance of the C1.C1Report.ShapeBase-derived class specifying properties of the geometric shape drawn by this field (if ShapeType is not None). (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the type of geometric shape drawn by the current field.

    The default is None.

    (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets a value indicating whether to show the pan tool.

    The default is false.

     
    Public PropertyGets or sets a value indicating whether to show the map scale.

    The default is true.

     
    Public PropertyGets or sets a value indicating whether to show the zoom scale.

    The default is false.

     
    Public PropertyGets or sets a reference to another report to be rendered within the field (a subreport). (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets extra data needed by the calling program. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the target image resolution (dpi).

    The default is 200 dpi.

     
    Public PropertyGets or sets the field's text. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the angle of text rotation within the field (including barcodes). (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the direction of text within the field. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the map tile source.  
    Public PropertyGets or sets the background color of the map scale and other tools.  
    Public PropertyGets or sets the y-coordinate of the field's top edge in twips. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether the C1.C1Report.Field will be rendered in the report. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the width of the field in twips. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether the field's contents should be allowed to wrap within the field rectangle. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the zoom level value. 0 is no zoom, 1 - x2 zoom and so on. Valid values are from 0 to 20.

    The default is 0.

    Ignored if AutoZoom is true.  
    Top
    Public Methods
     NameDescription
    Public MethodOverridden. Overridden to clone the inner objects.  
    Public MethodBrings a field to the front or sends it to the back of the ZOrder. (Inherited from C1.C1Report.Field)
    Public MethodReturns a description of the field (name, location, size). (Inherited from C1.C1Report.Field)
    Top
    Public Events
     NameDescription
    Public EventFired when the Layers collection is set.  
    Top
    See Also