GdPicture.NET.14
GdPicture14 Namespace / GdViewer Class / PageBordersColor Property
Example





In This Topic
PageBordersColor Property (GdViewer)
In This Topic
Gets or sets the page border color of the page borders, which are drawn around the pages displayed in the GdViewer control. This property is only meanigful when the page borders are enabled using the DrawPageBorders property.
Syntax
'Declaration
 
Public Property PageBordersColor As Color
public Color PageBordersColor {get; set;}
public read-write property PageBordersColor: Color; 
public function get,set PageBordersColor : Color
public: __property Color get_PageBordersColor();
public: __property void set_PageBordersColor( 
   Color value
);
public:
property Color PageBordersColor {
   Color get();
   void set (    Color value);
}

Property Value

The default value is Color.Black.
Remarks
Please ensure that you have set the DrawPageBorders property to true to enable displaying of page borders.
Example
How to change properties for page borders.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.DrawPageBorders = True
GdViewer1.PageBordersColor = Color.Blue
GdViewer1.PageBordersPenSize = 5
//We assume that the GdViewer1 control has been properly integrated.
GdViewer1.DrawPageBorders = true;
GdViewer1.PageBordersColor = Color.Blue;
GdViewer1.PageBordersPenSize = 5;
See Also