Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Geometry Class / Widen Method / Widen(Single,IGeometrySink) Method
The amount by which to widen the geometry.
The ISimplifiedGeometrySink to which the widened geometry is appended.

In This Topic
    Widen(Single,IGeometrySink) Method
    In This Topic
    Widens the geometry by the specified stroke and writes the result to an ISimplifiedGeometrySink after it has been transformed by the specified matrix and flattened using the specified tolerance.
    Syntax
    'Declaration
     
    Public Overloads Sub Widen( _
       ByVal strokeWidth As System.Single, _
       ByVal geometrySink As IGeometrySink _
    ) 
    public void Widen( 
       System.float strokeWidth,
       IGeometrySink geometrySink
    )

    Parameters

    strokeWidth
    The amount by which to widen the geometry.
    geometrySink
    The ISimplifiedGeometrySink to which the widened geometry is appended.

    Return Value

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