My question is what is the default display mode that is used by AddGraphic, i.e. with no param or invalid displayMode? It is not "scale-to-fill", contrary to what doc says. Rather, for the image i have it seems to show it 1:1 (no scale) but chomps about 1/3 from top and 1/3 from bottom. It is not photo-fit either.
You are correct... it appears that 1:1 scaling will be used in this case. If it is not documented I would not rely on that as a feature though.
@RokuKC - do you mean that ifParagraphScreen.AddGraphic(url as String) method should not be used?
(that's the version without displayMode param, it has existed first)
Sorry, I was more focused on the bit about what happens when a unrecognized display mode is passed to AddGraphic explicitly.
AddGraphic without an explicit display mode is fine and should display the image unscaled.
Passing an empty string explicitly as display mode should have the same effect, but if that is your intention I recommend calling AddGraphic without the display mode parameter.