FitToCurve Property | 
Gets or sets the value that specifies whether Bezier smoothing is used to render ink.
Declaration
[C++]
[propput] HRESULT put_FitToCurve ([in] VARIANT_BOOL FitToCurve);
[propget] HRESULT get_FitToCurve ([out, retval] VARIANT_BOOL*
    FitToCurve);
[Microsoft® Visual Basic® 6.0]
Public Property Get FitToCurve() As Boolean
Public Property Let FitToCurve(ByVal isFitToCurve As Boolean)
Property Value
VARIANT_BOOL Returns or sets the Boolean value that specifies how the ink is rendered.
This property is read/write.
| TRUE | The ink is rendered as a series of curves. | 
| FALSE | Default. The ink is rendered as lines between pen sample points. | 
Return Value
| HRESULT value | Description | 
|---|---|
| S_OK | Success. | 
| E_POINTER | The FitToCurve parameter is an invalid pointer. | 
| E_INK_EXCEPTION | An exception occurred inside the method. | 
| E_INVALIDARG | The specified mode is invalid. | 
Remarks
Bezier smoothing renders ink as a series of curves instead of as lines between pen sample points. Rendering ink as a series of curves is useful for smoothing the ink, especially when the person writing the ink has unsteady writing.
If you set this property while collecting a stroke or strokes, the ink does not render as a series of curves until it is redrawn or refreshed.
Example
[Visual Basic 6.0]
This Visual Basic 6.0 example shows a menu handler to toggle the FitToCurve property.
'...
    Dim theInkCollector As InkCollector
'...
    Private Sub MenuInkFitToCurve_Click()
        MenuInkFitToCurve.Checked = Not MenuInkFitToCurve.Checked
        theInkCollector.DefaultDrawingAttributes.FitToCurve = _
            MenuInkFitToCurve.Checked
        Refresh
    End Sub