I'm creating a legend. I want to set IBoundsProperties.FixedAspectRatio to False. When I run the code, I get "The method or operation is not implemented."
Code snippet (C#):
I get the same error if I cast to IBoundsProperties from the mapSurroundFrame object instead of the legend object.
Code snippet (C#):
Code:
ILegend2 legend = mapSurroundFrame.MapSurround as ILegend2;
IBoundsProperties bounds = legend as IBoundsProperties;
bounds.FixedAspectRatio = false;