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