Partager via


XPS_DASH_CAP enumeration

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

Syntax

typedef enum  { 
  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
    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 | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Xpsobjectmodel.h

IDL

XpsObjectModel.idl

See also

XML Paper Specification