THPDFLoadedFormField.GetBounds Method
傳回欄位介面元件的矩形(若有)
宣告
function GetBounds(out ARect: THPDFRect): boolean;
單元
HPDFDoc
參數
| 名稱 | 用途 |
|---|---|
ARect | 接收正規化的 widget 矩形,座標為 PDF 使用者空間單位(Left <= Right、Bottom <= Top,與 GetLoadedAllPageBoxes 一致) |
傳回值
當成功取得介面元件矩形時為 True;當欄位未提供可用矩形時為 false
使用說明
- 轉送至 THotPDF.GetLoadedFormFieldRect
- 搭配 PageIndex 即可建構檢視器的點擊測試與欄位屬性面板