XPS_DASH_CAP enumeration (xpsobjectmodel.h)

Specifies the style of a dash cap on a dashed stroke.

Syntax

typedef enum __MIDL___MIDL_itf_xpsobjectmodel_0000_0000_0006 {
  XPS_DASH_CAP_FLAT = 1,
  XPS_DASH_CAP_ROUND,
  XPS_DASH_CAP_SQUARE,
  XPS_DASH_CAP_TRIANGLE
} XPS_DASH_CAP;

Constants

 
XPS_DASH_CAP_FLAT
Value: 1
Flat-line cap.
XPS_DASH_CAP_ROUND
Round-line cap.
XPS_DASH_CAP_SQUARE
Square-line cap.
XPS_DASH_CAP_TRIANGLE
Triangular-line cap.

Remarks

In the following illustrations, each shaded area represents the dash cap that corresponds to each type of XPS_DASH_CAP.

Value Example
XPS_DASH_CAP_FLAT A diagram that illustrates the XPS_DASH_CAP_FLAT dash cap in a dashed stroke
XPS_DASH_CAP_ROUND A diagram that illustrates the XPS_DASH_CAP_ROUND dash cap in a dashed stroke
XPS_DASH_CAP_SQUARE A diagram that illustrates the XPS_DASH_CAP_SQUARE dash cap in a dashed stroke
XPS_DASH_CAP_TRIANGLE A diagram that illustrates the XPS_DASH_CAP_TRIANGLE dash cap in a dashed stroke

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header xpsobjectmodel.h

See also

XML Paper Specification