THotPDF.RegisterLineGraphicsState

THotPDF

 

返回頂部

此方法會建立包含 /LW、/LC、/LJ 與 /ML entries 的 ExtGState,分別用於 line width、line cap、line join 與 miter limit。傳回的 name 在檔案內穩定,例如 GS1,並會在呼叫 SetGraphicsState 時附加到頁面的 Resources/ExtGState dictionary

 

Delphi 語法:

LineWidthMiterLimit 必須為 non-negative。helper 要求 PDF 1.2 或更新版本,符合 PDF ExtGState resource model。自 HotPDF v2.121.8 起可用

 

說明

此方法會建立包含 /LW、/LC、/LJ 與 /ML entries 的 ExtGState,分別代表 line width、line cap、line join 與 miter limit。傳回的 name 在 document 內穩定,例如 GS1,並會在呼叫 SetGraphicsState 時附加到 page 的 Resources/ExtGState dictionary

當多個 drawing regions 應共用相同 stroke geometry,而不想在每條 path 前重複 page-level setters 時,請使用此方法

LineWidthMiterLimit 必須為 non-negative。helper 要求 PDF 1.2 或更新版本,符合 PDF ExtGState resource model。自 HotPDF v2.121.8 起可用