Here’s what I’m doing:
  
  // build montage
  dim StackingMontage as New GM16MontageMBS
  StackingMontage.backgroundColor = New GM16ColorMBS(&cE7E7E7)
  StackingMontage.fillColor = New GM16ColorMBS(&c000000)
  StackingMontage.tile = New GM16GeometryMBS("1x20")
  StackingMontage.geometry = New GM16GeometryMBS("160x120+5+5")
  StackingMontage.font = "Helvetica"
  StackingMontage.pointSize = 12
  StackingMontage.title = "Title goes here"
  
  // make picture 
  dim logo as Picture = LogoMBS(500)
  dim img as New GM16ImageMBS(logo)
  
  img.label("Sample label") 
  
  // Put the current image into the array
  Dim StackingFrames As new GM16ImageArrayMBS
  StackingFrames.insert(img) 
  
  // show result
  dim resultImages as GM16ImageArrayMBS = 
StackingFrames.montageImages(StackingMontage)
  dim pic As GM16ImageMBS = resultImages.Image(0)
  cvsStackingThumbs.Height = pic.height
  cvsStackingThumbs.Width = pic.width
  cvsStackingThumbs.Backdrop = pic.CopyPicture
  
And the screenshot:

https://www.dropbox.com/s/2or9828z3ow7onr/Untitled.mc.png?dl=0

No title, no label, nothing. I have no clue.

- bill k

> On Feb 2, 2016, at 9:16 AM, Christian Schmitz 
> <[email protected]> wrote:
> 
> 
>> Am 02.02.2016 um 08:12 schrieb William Koperwhats 
>> <[email protected]>:
>> 
>> OK, I can confirm that the GM16Image label is getting set (and remembered) 
>> when it get’s placed into the GM16ImageArray, but no labels are getting 
>> displayed in the montage. Here is my montage definition:
> 
> for me this works:
> 
> 
>  // build montage
>  dim StackingMontage as New GM16MontageMBS
>  StackingMontage.backgroundColor = New GM16ColorMBS(&cE7E7E7)
>  StackingMontage.fillColor = New GM16ColorMBS(&c000000)
>  StackingMontage.tile = New GM16GeometryMBS("1x20")
>  StackingMontage.geometry = New GM16GeometryMBS("160x120+5+5")
>  StackingMontage.font = "Helvetica"
>  StackingMontage.pointSize = 12
>  StackingMontage.title = "Title goes here"
> 
>  // make picture 
>  dim logo as Picture = LogoMBS(500)
>  dim image as New GM16ImageMBS(logo)
> 
>  image.label("Sample label") 
> 
>  // Put the current image into the array
>  Dim StackingFrames As new GM16ImageArrayMBS
>  StackingFrames.insert(image) 
> 
>  // show result
>  dim resultImages as GM16ImageArrayMBS = 
> StackingFrames.montageImages(StackingMontage)
>  Backdrop = resultImages.Image(0).CopyPicture
> 
> 
> I see texts for title and label.
> 
> Sincerely
> Christian

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to