How do I know when word's PageNum calculation is complete

What follows is not a bug but a phenomenon:
hey, I found that the PageNum of all Elements of word is 0 (not computed yet) at initialization, how can I know when PageNum is completed ?
This is my requirement, when the document loads, I query the paragraph according to pageNum.

okay, I already found it :smiling_face_with_three_hearts:
I wish life and work happy

Asc['asc_docs_api'].prototype["Call_CalculateResume"] = function()

Hello @hufei :hugs:

You are excellent. I appreciate that you update every time you find a solution on your own!

I’m really glad that we have someone like you in our community :handshake:

1 Like