Available in the LEADTOOLS Imaging toolkit. |
BorderStyle example for Visual J++
This example toggles the border style and repaints the image.
if( LEAD1.getBorderStyle() == 1 )
LEAD1.setBorderStyle( (short) 0 );
else
LEAD1.setBorderStyle( (short) 1 );
LEAD1.ForceRepaint();