'We assume that the GdViewer1 control has been properly integrated.
'Setting some custom properties (the border color and the border size) for the rectangle of selection.
GdViewer1.SetRectBorderColor(GdViewer1.ARGBI(255, 255, 69, 0))
'Calling the method above does the same as setting the property as below.
'GdViewer1.RectBorderColor = GdViewer1.ARGB(255, 69, 0)
GdViewer1.RectBorderSize = 2
//We assume that the GdViewer1 control has been properly integrated
//Setting some custom properties (the border color and the border size) for the rectangle of selection.
GdViewer1.SetRectBorderColor(GdViewer1.ARGBI(255, 255, 69, 0));
//Calling the method above does the same as setting the property as below.
//GdViewer1.RectBorderColor = GdViewer1.ARGB(255, 69, 0);
GdViewer1.RectBorderSize = 2;