# Page 변수

#### 설명 <a href="#page-bian-liang-miao-shu" id="page-bian-liang-miao-shu"></a>

포건시의 루트 개체인 페이지 개체는 페이지 개체를 통해 셀 개체 및 테이블 개체를 가져올 수 있습니다. 페이지의 셀과 테이블은 현재 페이지로 가져온 경우에만 조작할 수 있습니다.

#### 형식 <a href="#page-bian-liang-lei-xing" id="page-bian-liang-lei-xing"></a>

&#x20;  [Page](/forguncy-v9/command/javascriptprogramming/javascript-api/class/page.md)

#### 예제 <a href="#page-bian-liang-shi-li" id="page-bian-liang-shi-li"></a>

예 1: 페이지 개체를 통해 셀 개체를 가져옵니다.

셀 개체를 가져오면 셀 개체에 대한 여러 메서드를 구현할 수 있습니다. 자세한 내용은 [Cell 클래스](/forguncy-v9/command/javascriptprogramming/javascript-api/class/cellclass.md)를 참조하십시오

```
// 현재 페이지 가져오기
var page = Forguncy.Page;
//현재 페이지에서 button이라는 이름의 버튼을 가져옵니다.
var cell = page.getCell("button");
```

예 2: 페이지 개체를 통해 테이블 개체를 가져옵니다.

테이블 개체를 가져오면 테이블 개체를 구현하는 여러 가지 방법이 있습니다. 자세한 내용은 [ListView 클래스](/forguncy-v9/command/javascriptprogramming/javascript-api/class/listview.md)를 참조하십시오.

```
// 현재 페이지 가져오기
var page = Forguncy.Page;
// 페이지에서 리스트뷰 가져오기 
var listview = page.getListView("리스트뷰1");
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.forguncy.co.kr/forguncy-v9/command/javascriptprogramming/javascript-api/class/page-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
