C1.C1Report Namespace > Field Class : BorderStyle Property |
'Declaration Public Property BorderStyle As BorderStyleEnum
public BorderStyleEnum BorderStyle {get; set;}
To draw a border around a field, set the following properties:
C1.C1Preview.C1Report.Field.BorderColor to define the border color.
C1.C1Preview.C1Report.Field.BorderStyle to define the border style (e.g., solid, dashed, etc.).
C1.C1Preview.C1Report.Field.LineWidth to define the border width (in twips).
When you create fields with text and a border, text will be positioned very close to the border. You can control the distance between the text and the border using the Field.MarginLeft, Field.MarginRight, Field.MarginTop, and Field.MarginBottom properties.
To draw lines, see the Field.LineSlant property.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2