Xojo Developer Conference
Join us from 25th to 27th April 2018 in Denver.

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ - Graphics.Picture functions do not preserve resolution values?

Answer: Yes, the picture functions return pictures with no/default resolution values.
dim l as Picture = LogoMBS(500)

l.HorizontalResolution = 300
l.VerticalResolution = 300

dim r as Picture = l.Rotate90MBS

MsgBox str(r.HorizontalResolution)+" x "+str(r.VerticalResolution)

r.HorizontalResolution = l.HorizontalResolution
r.VerticalResolution = l.VerticalResolution

MsgBox str(r.HorizontalResolution)+" x "+str(r.VerticalResolution)
So please fix them yourself after calling a function.

Maybe in the future this changes, but currently you can't really set this easily from plugin code.

MBS Xojo Chart Plugins