Click or drag to resize

BarcodeWriterBounds Property

After a call to Render(String, Graphics, Rectangle) contains the Rectanglethat bounds the rendered bar code.

Namespace:  Atalasoft.Barcoding.Writing
Assembly:  Atalasoft.dotImage.Barcoding.Writing (in Atalasoft.dotImage.Barcoding.Writing.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public Rectangle Bounds { get; }

Property Value

Type: Rectangle
Examples
 myBarcodeWriter.Render("123456", g, targetRect);
Rectangle finalRect = myBarcodeWriter.Bounds;
Console.WriteLine("Barcode rendered within " + finalRect);
See Also