Back to Devexpress

ShapeCross.HorizontalLineWidth Property

corelibraries-devexpress-dot-xtraprinting-dot-shape-dot-shapecross.md

latest2.6 KB
Original Source

ShapeCross.HorizontalLineWidth Property

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

Declaration

csharp
[DefaultValue(50)]
public int HorizontalLineWidth { get; set; }
vb
<DefaultValue(50)>
Public Property HorizontalLineWidth As Integer

Property Value

TypeDefaultDescription
Int3250

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

csharp
// 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

vb
' Adjust the Cross shape's specific properties.
CType(shape.Shape, ShapeCross).HorizontalLineWidth = 50
CType(shape.Shape, ShapeCross).VerticalLineWidth = 50

See Also

VerticalLineWidth

ShapeCross Class

ShapeCross Members

DevExpress.XtraPrinting.Shape Namespace