public IsSubstitutedShape ( string originalShapeName ) : bool | ||
originalShapeName | string | The original shape |
return | bool |
public bool IsSubstitutedShape(string originalShapeName)
{
var substitutionsData = _documentRoot[ShapeSubstitutionsKey];
if (substitutionsData == null)
return false;
var remapShape = substitutionsData[originalShapeName] as JsonData;
return remapShape != null;
}