Partager via


XPS_DASH structure

This structure describes a dash element of a path.

Syntax

typedef struct {
  FLOAT length;
  FLOAT gap;
} XPS_DASH;

Members

  • length
    Length of the visible segment of the dash element.

  • gap
    Length of the space between the visible segments of the dash sequence.

Remarks

The length must be non-negative and is measured in multiples of the path's stroke thickness.

Values of length do not include the end caps of the visible segments.

The shape of the end caps of the visible segments is determined by the XPS_DASH_CAP value.

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

XPS_DASH_CAP

XML Paper Specification