Export (0) Print
Expand All

InkDrawingAttributes.AntiAliased property

Applies to: desktop apps only

Gets or sets the value that indicates whether a stroke is antialiased.

This property is read/write.

Syntax

HRESULT put_AntiAliased(
  [in]           VARIANT_BOOL AntiAliased
);

HRESULT get_AntiAliased(
  [out, retval]  VARIANT_BOOL *AntiAliased
);

Property value

VARIANT_TRUE to set antialiasing on the ink; otherwise, VARIANT_FALSE.

Error codes

NameMeaning
S_OK

Success.

E_POINTER

The AntiAliased parameter is an invalid pointer.

E_INK_EXCEPTION

An exception occurred inside the method.

E_INVALIDARG

The flag is invalid.

Remarks

If a stroke is antialiased, the foreground and background colors along the edge of the ink are blended to increase the visible smoothness.

Antialiasing improves the quality of rendering by making ink appear smoother and sharper, especially on lower resolution displays. However, antialiasing incurs added performance. Use it judiciously.

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

InkDrawingAttribute Class

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft