Image Viewer CP ActiveX Control

AddBorder

 

Add Photo Frame border to image.

Public Function AddBorder(
    iBorderWidth As Integer, _
    clrBorder As OLE_COLOR)

 

Parameter
iBorderWidth
the width of border.

clrBorder
the color of border.

No Return Value


Example

   

Visual Basic Syntax
ImageViewer1.AddBorder 10,RGB(255,0,0)