We are using below code and getting exception -
foreach (Shape s in doc.GetChildNodes(NodeType.Shape, true))
{
try
{
// Skip shapes that are textboxes — th…...words Aspose.Words Product Family words-net hrnallap...layoutEnumerator.Rectangle; PageSetup ps = ((Section)s.GetAncestor(NodeType...