ReprojectionServiceDetermineSourceSize Method |
Determines the size of the source image.
This method is only used when re-projection applies.
Namespace:
Ptv.XServer.Controls.Map.Tools.Reprojection
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax protected virtual Size DetermineSourceSize(
IBoundingBox sourceBoundingBox,
Size targetSize
)
Protected Overridable Function DetermineSourceSize (
sourceBoundingBox As IBoundingBox,
targetSize As Size
) As Size
protected:
virtual Size DetermineSourceSize(
IBoundingBox^ sourceBoundingBox,
Size targetSize
)
abstract DetermineSourceSize :
sourceBoundingBox : IBoundingBox *
targetSize : Size -> Size
override DetermineSourceSize :
sourceBoundingBox : IBoundingBox *
targetSize : Size -> Size
Parameters
- sourceBoundingBox
- Type: Ptv.XServer.Controls.Map.Tools.ReprojectionIBoundingBox
The source bounding box. - targetSize
- Type: System.DrawingSize
Requested target size.
Return Value
Type:
SizeThe computed source size.
See Also