Thank you Erel very much,
it alsmost works now except the background is always black and only the text in color is visible and no pictures.
I did exactly as you said
BBCodeView1.TextEngine = TextEngine
BBCodeView1.Text = Qtext(expandable.lastIndex)
Dim bmx As B4XBitmap = BBCodeView1.ForegroundImageView.GetBitmap
fx.Clipboard.SetImage(bmx)
Where Private BBCodeView1 in class globals, in Designer in parent = Form main, background white, lazy loading is disabled.
What have I missed or goofed-up?
Should the BBCodeView1 be inside a separate pane which would be resized accordingly? And can this be larger than the form?