Aspose.Words.Examples.CSharp.Loading_Saving.PageNumberFinder.GetPage C# (CSharp) Метод

GetPage() публичный Метод

Retrieves 1-based index of a page that the node begins on.
public GetPage ( Node node ) : int
node Node
Результат int
        public int GetPage(Node node)
        {
            if (mNodeStartPageLookup.ContainsKey(node))
                return (int)mNodeStartPageLookup[node];

            return mCollector.GetStartPageIndex(node);
        }