Click or drag to resize

ReprojectionServiceGetInnerImageStream Method

Loads a source map image from the inner map service using the specified target bounding box and target size.

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 virtual Stream GetInnerImageStream(
	MapRectangle targetMapRectangle,
	Size targetSize,
	bool includeGrid
)

Parameters

targetMapRectangle
Type: Ptv.XServer.Controls.Map.Tools.ReprojectionMapRectangle
Requested bounding box, based on the CRS defined by this class.
targetSize
Type: System.DrawingSize
Requested image size in pixels.
includeGrid
Type: SystemBoolean
If set to true, renders the re-projection grid into the returned image. Used for debugging purposes.

Return Value

Type: Stream
The stream containing the map image.
See Also