SetLineDashExA
矢量图形
描述
末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式 其行为与 SetLineDashEx 相同,字符串参数会使用当前 SetAnsiMode 代码页解释
设置随后绘制图形的轮廓虚线模式。可按 PDF 规范使用一系列数值指定虚线模式
使用 DashValues 参数的空字符串调用此函数,将使后续绘制的图形恢复为实线样式
语法
Delphi
Function DLSetLineDashExA(InstanceID: Integer; DashValues: PAnsiChar): Integer;
DLL
int DLSetLineDashExA(int InstanceID, const char * DashValues);
参数
| DashValues | 要使用的虚线模式 |
|---|
返回值
| 0 | DashValues 参数的值无效。它应为以空格分隔的数值列表,例如 "1 1 5 1" |
|---|---|
| 1 | 虚线模式设置成功 |