Map for WinForms | ComponentOne
C1.FlexMap Namespace / WkCoder Class / ToByteArray Method
The geometry shape.
The byte order.

In This Topic
    ToByteArray Method (WkCoder)
    In This Topic
    Converts the provided geometry shape to WKB byte array.
    Syntax
    'Declaration
     
    
    Public Shared Function ToByteArray( _
       ByVal shape As GeoGeometry, _
       ByVal byteOrder As WkCoder.WkbByteOrder _
    ) As Byte()
    public static byte[] ToByteArray( 
       GeoGeometry shape,
       WkCoder.WkbByteOrder byteOrder
    )

    Parameters

    shape
    The geometry shape.
    byteOrder
    The byte order.

    Return Value

    Byte array with encoded data.
    See Also