Trả về PageElement mà trang web kết nối đang hoạt động.
Tài liệu chi tiết
getIndex()
Trả về chỉ mục của vị trí kết nối. Chỉ mục này là duy nhất trong số tất cả các trang web kết nối trên cùng một phần tử trang.
Trong hầu hết các trường hợp, chỉ số này tương ứng với chỉ mục trang kết nối được xác định trước theo tiêu chuẩn ECMA-376. Bạn có thể xem thêm thông tin về những vị trí kết nối đó trong phần mô tả thuộc tính "cnx" trong mục 20.1.9.9 và Phụ lục H. "Predefined DrawingML Shape and Text Geometries" (Hình dạng và hình học văn bản DrawingML được xác định trước) trong "Office Open XML File Formats-Fundamentals and Markup Language Reference" (Định dạng tệp Office Open XML – Kiến thức cơ bản và tài liệu tham khảo về ngôn ngữ đánh dấu), phần 1 của
ECMA-376 phiên bản thứ 5.
Cầu thủ trả bóng
Integer – Chỉ mục của trang web kết nối.
Ủy quyền
Các tập lệnh sử dụng phương thức này cần được uỷ quyền bằng một hoặc nhiều phạm vi sau đây:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-04 UTC."],[[["\u003cp\u003eA connection site is a point on a PageElement where a connector can be attached.\u003c/p\u003e\n"],["\u003cp\u003eYou can get the index of a connection site, which is unique within its PageElement, using \u003ccode\u003egetIndex()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetPageElement()\u003c/code\u003e allows you to retrieve the PageElement associated with a specific connection site.\u003c/p\u003e\n"],["\u003cp\u003eConnection sites often correspond to the ECMA-376 standard, allowing compatibility with various applications.\u003c/p\u003e\n"]]],["A `ConnectionSite` on a `PageElement` can connect to a connector. It offers two methods: `getIndex()` and `getPageElement()`. `getIndex()` returns the site's unique index as an `Integer`, corresponding to the ECMA-376 standard. `getPageElement()` returns the `PageElement` the connection site belongs to. Both methods require specific authorization scopes like `presentations.currentonly` or `presentations`. The index is unique within the element's connection sites.\n"],null,[]]