FAQ - Graphics

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.
Example
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.


💬 Ask a question or report a problem