SetMinimalLineWidth method allows the caller to set the minimum thickness (in pixels) of the lines that the device can render. The default minimum thickness value is 1 pixel if
SetMinimalLineWidth is not called. This minimum thickness value only applies to the Nominal Width Stroke as defined in the XPS Specification v1.0, Sec 11.6.12. IXpsRasterizer requires that any Nominal Width Stroke is rasterized with either the width specified by its StrokeThickness attribute, or the pixel value set by
SetMinimalLineWidth (1 pixel if
SetMinimalLineWidth is not called), whichever is bigger.
HRESULT SetMinimalLineWidth( INT width );
The minimum thickness (in pixels) of the lines the device is capable of rendering. The value should be greater than 1.
SetMinimalLineWidth always returns S_OK.
This method is supported in Windows 7 and later. It is not supported in versions of the Windows operating system before Windows 7.
|Minimum supported client||Available in Windows 7 and later versions of the Windows operating system.|