Back to Devexpress

PDF417Generator.TruncateSymbol Property

corelibraries-devexpress-dot-xtraprinting-dot-barcode-dot-pdf417generator-7c239f5c.md

latest2.6 KB
Original Source

PDF417Generator.TruncateSymbol Property

Gets or sets whether the special end-symbol should be appended to the bar code.

Namespace : DevExpress.XtraPrinting.BarCode

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue(false)]
public bool TruncateSymbol { get; set; }
vb
<DefaultValue(False)>
Public Property TruncateSymbol As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the end symbol should be appended; otherwise, false.

|

Remarks

Use the TruncateSymbol property to append the special end-symbol to the bar code. The following images demonstrate this property in action.

TruncateSymbol = falseTruncateSymbol = true

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TruncateSymbol 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-add-a-bar-code-to-a-report/CS/Form1.cs#L450

csharp
((PDF417Generator)barCode.Symbology).Rows = 9;
((PDF417Generator)barCode.Symbology).TruncateSymbol = false;
((PDF417Generator)barCode.Symbology).YToXRatio = 3;

See Also

PDF417

PDF417Generator Class

PDF417Generator Members

DevExpress.XtraPrinting.BarCode Namespace