ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct2D Namespace / Geometry Class / Simplify Method / Simplify(GeometrySimplificationOption,GeometrySink) Method
A value that specifies whether the simplified geometry should contain curves.
The SimplifiedGeometrySink to which the simplified geometry is appended.

In This Topic
    Simplify(GeometrySimplificationOption,GeometrySink) Method
    In This Topic
    Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an SimplifiedGeometrySink.
    Syntax
    'Declaration
     
    Public Overloads Sub Simplify( _
       ByVal simplificationOption As GeometrySimplificationOption, _
       ByVal geometrySink As GeometrySink _
    ) 

    Parameters

    simplificationOption
    A value that specifies whether the simplified geometry should contain curves.
    geometrySink
    The SimplifiedGeometrySink to which the simplified geometry is appended.

    Return Value

    If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
    See Also