You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Resizing and Rotating > AddBorders Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.AddBorders Method

Adds borders around a GdPicture image.

C#
public GdPictureStatus AddBorders(
    int ImageID, 
    int BorderWidth, 
    Color BorderColor
);
Visual Basic
Public Function AddBorders(
    ByVal ImageID As Integer, 
    ByVal BorderWidth As Integer, 
    ByVal BorderColor As Color
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
BorderWidth 
The width of the border in pixel.  
BorderColor 
Color Object. You can build a Color Object using the ARGB() function. Color of the borders.  
Returns

A member of the GdPictureStatus enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.