Back to Devexpress

BarCode.DpiX Property

officefileapi-devexpress-dot-barcodes-dot-barcode-d0cbeaaa.md

latest2.3 KB
Original Source

BarCode.DpiX Property

Gets or sets the dpi value for the X-coordinate used to render the bar code.

Namespace : DevExpress.BarCodes

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public float DpiX { get; set; }
vb
Public Property DpiX As Single

Property Value

TypeDescription
Single

A Single value representing the dpi value used to create the bar code image.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DpiX 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.

asp-net-web-forms-grid-display-barcode-in-column/CS/ASPxGridViewBarCode/Default.aspx.cs#L34

csharp
barCode.Options.QRCode.ShowCodeText = false;
barCode.DpiX = 72;
barCode.DpiY = 72;

asp-net-web-forms-grid-display-barcode-in-column/VB/ASPxGridViewBarCode/Default.aspx.vb#L40

vb
barCode.Options.QRCode.ShowCodeText = False
barCode.DpiX = 72
barCode.DpiY = 72

See Also

BarCode Class

BarCode Members

DevExpress.BarCodes Namespace