THotPDF.GetLoadedExtGStateInfo Method
方法摘要: THotPDF.GetLoadedExtGStateInfo Method
宣告
function GetLoadedExtGStateInfo(PageIndex: Integer; const AGSName: AnsiString; out ALW: Single; out ALC, ALJ: Integer; out ACA, AStrokeCA: Single): boolean;
單元
HPDFDoc
參數
| 名稱 | 用途 |
|---|---|
PageIndex | 以 0 為起始的已載入頁面索引 |
AGSName | ExtGState 資源名稱,開頭斜線可有可無 |
ALW | Receives the /LW line width, or zero when absent |
ALC | Receives the /LC line-cap value, or zero when absent |
ALJ | Receives the /LJ line-join value, or zero when absent |
ACA | Receives the /ca fill alpha, or zero when absent |
AStrokeCA | Receives the /CA stroke alpha, or zero when absent |
傳回值
成功解析指定名稱的 ExtGState 資源時傳回 True
使用說明
- AGSName 可含也可省略開頭斜線
- 缺少 ExtGState 項目時傳回 False,所有輸出值維持為零
相關 API
- THotPDF
- THPDFPage
- 目錄