Export (0) Print
Expand All

InkDrawingAttributes.FitToCurve property

Applies to: desktop apps only

Gets or sets the value that specifies whether Bezier smoothing is used to render ink.

This property is read/write.

Syntax

HRESULT put_FitToCurve(
  [in]           VARIANT_BOOL FitToCurve
);

HRESULT get_FitToCurve(
  [out, retval]  VARIANT_BOOL *FitToCurve
);

Property value

VARIANT_TRUE to render the ink as a series of curves; VARIANT_FALSE to render the ink as lines between pen sample points.

Error codes

NameMeaning
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.

Requirements

Minimum supported client

Windows XP Tablet PC Edition

Minimum supported server

None supported

Header

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

InkDrawingAttributes Class
GetFlattenedBezierPoints Method
IInkStrokeDisp Interface

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft