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 | The dash pattern to use. |
|---|
傳回值
| 0 | DashValues 參數的值無效。應為以空格分隔的數值清單,例如 "1 1 5 1"。 |
|---|---|
| 1 | 虛線樣式設定成功。 |