---
title: "System::Text::Json::WriteStack::get_CurrentDepth method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/writestack/get_currentdepth/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use get_CurrentDepth method of System::Text::Json::WriteStack class in C++."
---

## WriteStack::get_CurrentDepth method




```cpp
int32_t System::Text::Json::WriteStack::get_CurrentDepth()
```

## See Also

* Class [WriteStack](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
