Defines a border around a report element.
Namespace: MindFusion.Reporting
Assembly: MindFusion.Reporting
C# Copy Code |
---|
public sealed class Border : ICloneable |
Visual Basic Copy Code |
---|
Public NotInheritable Class Border |
The border class lets you define a border around certain report elements - in particular those that provide a Border property. You need to create an instance of this class and assign it to the Border property of the report element.
It is not necessary to specify all the sides of a Border object. For example, you can create a border, which has only a left side, or whose sides have different colors or widths.
The following example creates a simple black border and assigns it to a Label element:
C# Copy Code |
---|
label1.Border = new Border(Color.Black, 0); |
Visual Basic Copy Code |
---|
Label1.Border = New Border(Color.Black, 0) |
System.Object
MindFusion.Reporting.Border