corelibraries-devexpress-dot-xtraprinting-dot-shape-dot-shapecross.md
Gets or sets the horizontal line width of a cross (in percents).
Namespace : DevExpress.XtraPrinting.Shape
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[DefaultValue(50)]
public int HorizontalLineWidth { get; set; }
<DefaultValue(50)>
Public Property HorizontalLineWidth As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 50 |
An integer value which represents the width of a horizontal line.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HorizontalLineWidth property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
reporting-winforms-insert-a-shape-control/CS/Form1.cs#L180
// Adjust the Cross shape's specific properties.
((ShapeCross)shape.Shape).HorizontalLineWidth = 50;
((ShapeCross)shape.Shape).VerticalLineWidth = 50;
reporting-winforms-insert-a-shape-control/VB/Form1.vb#L151
' Adjust the Cross shape's specific properties.
CType(shape.Shape, ShapeCross).HorizontalLineWidth = 50
CType(shape.Shape, ShapeCross).VerticalLineWidth = 50
See Also