ID2D1Ink::RemoveSegmentsAtEnd method (d2d1_3.h)

Removes the given number of segments from the end of this ink object.

Syntax

HRESULT RemoveSegmentsAtEnd(
  UINT32 segmentsCount
);

Parameters

segmentsCount

Type: UINT32

The number of segments to be removed from the end of this ink object. Note that segmentsCount must be less or equal to the number of segments in the ink object.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header d2d1_3.h
Library D2d1_3.lib
DLL D2d1_3.dll

See also

ID2D1Ink