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
GdViewer.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.
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;
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