GenericSPSafeGetViewPos Method |
An alternative to GetViewPos() which is safe for use in non-natural unit coordinate
systems (degrees for lat/long, metres for any projection).
Namespace:
Cadcorp.GFB.CadcorpSP
Assembly:
Cadcorp.GFB.GenericStoredProcedures (in Cadcorp.GFB.GenericStoredProcedures.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxpublic SisVector SafeGetViewPos(
int xPos,
int yPos,
int xSize,
int ySize
)
Public Function SafeGetViewPos (
xPos As Integer,
yPos As Integer,
xSize As Integer,
ySize As Integer
) As SisVector
Parameters
- xPos
- Type: SystemInt32
The screen x-coordinate to transform, in pixels - yPos
- Type: SystemInt32
The screen y-coordinate to transform, in pixels - xSize
- Type: SystemInt32
The screen width, in pixels - ySize
- Type: SystemInt32
The screen height, in pixels
Return Value
Type:
SisVector[Missing <returns> documentation for "M:Cadcorp.GFB.CadcorpSP.GenericSP.SafeGetViewPos(System.Int32,System.Int32,System.Int32,System.Int32)"]
See Also