Advmemo -- Is Node Collapsed?

I can't find any exposed properties or methods for determining whether a code folding node is collapsed. Is there a way to do this? I would like to be able to save the node states when the file is saved and restore the nodes to the proper state when the file is reopened.


Thank you!

You can use AdvMemo.IsNode() to check if there is a node at a specific line.
You can read boolean value AdvMemo.ExpandNode[lineindex]: boolean that returns true when the node is in expanded state.