InkPicture.EraserWidth property
Gets or sets a value that specifies the width of the eraser pen tip.
This property is read/write.
Syntax
HRESULT put_EraserWidth( [in] long NewEraserWidth ); HRESULT get_EraserWidth( [out, retval] long *EraserWidth );
Property value
The width of the eraser pen tip. The default value is 212.
Error codes
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. To retrieve extended error information, call GetLastError.
Remarks
The value specifies the width of the eraser pen tip in ink space units.
You cannot assign negative values to this property.
This property applies only when the EditingMode property is set to IOEM_Delete and the EraserMode property is set to IOERM_PointErase.
Requirements
|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|
See also
- InkPicture
- InkPicture Control
- EditingMode [InkPicture Control]
- EraserMode [InkPicture Control]
- EraserMode Enumeration