Click or drag to resize

MapServiceExtensions Class

Static class providing some extensions.
Inheritance Hierarchy
SystemObject
  Ptv.XServer.Controls.Map.Tools.ReprojectionMapServiceExtensions

Namespace:  Ptv.XServer.Controls.Map.Tools.Reprojection
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public static class MapServiceExtensions

The MapServiceExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberApproximateBoundingBox(BoundingLines, Double)
Utility extension that provides an approximation of a bounding box given a BoundingLines structure.
Public methodStatic memberApproximateBoundingBox(IBoundingBox, ICoordinateTransformation, Int32, Double)
Transforms a bounding box from one CRS to another.
Public methodStatic memberApproximateBoundingBox(IBoundingBox, String, String, Int32, Double)
Transforms a bounding box from one CRS to another.
Public methodStatic memberArea(Size)
Computes the area, given a Size object.
Public methodStatic memberArea(SizeF)
Computes the area, given a SizeF object.
Public methodStatic memberArea(Size)
Computes the area, given a Size object.
Public methodStatic memberAspectRatio(SizeF)
Determines the aspect ratio, given a SizeF.
Public methodStatic memberAspectRatio(IBoundingBox)
Determines the aspect ratio, given a bounding box.
Public methodStatic memberCreateImage(Color, Size)
Renders an image filled with a given color.
Public methodStatic memberCreateImage(Size, Color)
Renders an image filled with a given color.
Public methodStatic memberCreateImage(Color, Int32, Int32)
Renders an image filled with a given color.
Public methodStatic memberEqualsAspect
Determines if two bounding boxes have the same aspect ratio.
Public methodStatic memberForEachT
Processes the given elements through a given action, either in parallel or in sequence, depending on the requested degree of parallelism.
Public methodStatic memberSize
Determines the size of a bounding box.
Public methodStatic memberStreamPng
Encodes an image as a PNG returning the PNG data stream.
Public methodStatic memberTransformBoundingBox(IBoundingBox, ICoordinateTransformation, Int32)
Transforms a bounding box from one CRS to another returning the resulting BoundingLines structure.
Public methodStatic memberTransformBoundingBox(IBoundingBox, String, String, Int32)
Transforms a bounding box from one CRS to another returning the resulting BoundingLines structure.
Top
See Also