SetLineDashEx

矢量图形

描述

设置随后绘制图形的轮廓虚线模式。可按 PDF 规范使用一系列数值指定虚线模式

使用 DashValues 参数的空字符串调用此函数,将使后续绘制的图形恢复为实线样式

语法

Delphi

Function TPDFlib.SetLineDashEx(Const DashValues: WideString): Integer;

ActiveX

Function PDFlib::SetLineDashEx(DashValues As String) As Long

DLL

int DLSetLineDashEx(int InstanceID, const wchar_t * DashValues);

参数

DashValues要使用的虚线模式

返回值

0DashValues 参数的值无效。它应为以空格分隔的数值列表,例如 "1 1 5 1"
1虚线模式设置成功