Xojo Conferences
MBSOct2019CologneDE
XDCMarch2020NashvilleUS

« Speed of Microsoft SQ… | Home | Real Studio Meetings … »

Display Rotation


Do you see picture on the side?
This is a cinema display rotated to 90° with the content. One of the fun things you can do nowadays with modern Macs.
With next plugins we'll have a SetRotation method on the CGDisplayMBS class to do this.

Code looks like this in our example project:
  dim d as CGDisplayMBS = CGDisplayMBS.MainDisplay
  dim e as integer = d.SetRotation(90)
  
  if e<>0 then
    MsgBox "Error: "+str(e)
  end if
07 12 12 - 16:26