Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / GeometryGroup Class / GetSourceGeometry Method / GetSourceGeometry(Int32) Method
A value indicating the number of geometries to return in the geometries array. If this value is less than the number of geometries in the geometry group, the remaining geometries are omitted. If this value is larger than the number of geometries in the geometry group, the extra geometries are set to NULL. To obtain the number of geometries currently in the geometry group, use the {{GetSourceGeometryCount}} method.

In This Topic
    GetSourceGeometry(Int32) Method
    In This Topic
    Retrieves the geometries in the geometry group.
    Syntax
    'Declaration
     
    Public Overloads Function GetSourceGeometry( _
       ByVal geometriesCount As System.Integer _
    ) As Geometry()
    public Geometry[] GetSourceGeometry( 
       System.int geometriesCount
    )

    Parameters

    geometriesCount
    A value indicating the number of geometries to return in the geometries array. If this value is less than the number of geometries in the geometry group, the remaining geometries are omitted. If this value is larger than the number of geometries in the geometry group, the extra geometries are set to NULL. To obtain the number of geometries currently in the geometry group, use the {{GetSourceGeometryCount}} method.

    Return Value

    an array of geometries to be filled by this method. The length of the array is specified by the geometryCount parameter.
    Remarks
    The returned geometries are referenced and counted, and the caller must release them.
    See Also