VERIFIED SOLUTION i
X

How to resize StyleSampleBitmapButton after re-sizing the button in MapXtreme

UPDATED: July 17, 2017


To resize the image after re-sizing the button, BeginInit() and EndInit() should be called before and after setting the button's size:
 
Me.StyleSampleBitmapButton1.BeginInit()
Me.StyleSampleBitmapButton1.Size = New Size(80, 80)
Me.StyleSampleBitmapButton1.EndInit()

Downloads

  • No Downloads