XPS_DASH structure (xpsobjectmodel.h)

This structure describes a dash element of a path.

Syntax

typedef struct __MIDL___MIDL_itf_xpsobjectmodel_0000_0000_0020 {
  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

Requirement Value
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

XPS_DASH_CAP