/// <summary> /// Gets the object of type <see cref="PdfPageObject"/> by given object index. /// </summary> /// <param name="index">The index to get object.</param> /// <returns></returns> /// <exception cref="IndexOutOfRangeException"/> /// <exception cref="NotImplementedException">When try to set an <see cref="PdfPageObject"/>.</exception> /// <exception cref="PDFiumException"/> public PdfPageObject this[int index] { get { if (index < 0 || index >= Count) { throw new IndexOutOfRangeException(); } FPDF_PAGEOBJECT pageObj = _pdfPage != null ? PDFium.FPDFPage_GetObject(_pdfPage.Handle, index) : PDFium.FPDFFormObj_GetObject(_formObject, index); if (pageObj.IsNull) { throw new PDFiumException(); } return(_pageObjectManager.Create(_pdfPage.Handle, pageObj)); } set { throw new NotImplementedException(); } }