Class PdfBarcodeQuietZones
Inheritance
System.Object
PdfBarcodeQuietZones
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.Pdf.Barcode
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public sealed class PdfBarcodeQuietZones
Examples
//Create a new PDF document.
PdfDocument document = new PdfDocument();
//Creates a new page and adds it as the last page of the document
PdfPage page = document.Pages.Add();
//Creates a new PdfCode93Barcode.
PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93");
//Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones();
quietZones.All = 0f;
//Set the barcode quiet zone.
code93.QuietZone = quietZones;
//Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500));
//Save document to disk.
document.Save("code93.pdf");
' Create a new PDF document.
Dim document As PdfDocument = New PdfDocument()
'Creates a new page and adds it as the last page of the document
Dim page As PdfPage = document.Pages.Add()
'Creates a new PdfCode93Barcode.
Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93")
'Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones()
quietZones.All = 0f;
'Set the barcode quiet zone.
code93.QuietZone = quietZones
'Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500))
'Save the document.
document.Save("code93.pdf")
Constructors
PdfBarcodeQuietZones()
Declaration
public PdfBarcodeQuietZones()
Properties
All
Declaration
public float All { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Examples
//Create a new PDF document.
PdfDocument document = new PdfDocument();
//Creates a new page and adds it as the last page of the document
PdfPage page = document.Pages.Add();
//Creates a new PdfCode93Barcode.
PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93");
//Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones();
quietZones.All = 0f;
//Set the barcode quiet zone.
code93.QuietZone = quietZones;
//Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500));
//Save document to disk.
document.Save("code93.pdf");
' Create a new PDF document.
Dim document As PdfDocument = New PdfDocument()
'Creates a new page and adds it as the last page of the document
Dim page As PdfPage = document.Pages.Add()
'Creates a new PdfCode93Barcode.
Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93")
'Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones()
quietZones.All = 0f;
'Set the barcode quiet zone.
code93.QuietZone = quietZones
'Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500))
'Save the document.
document.Save("code93.pdf")
Bottom
Declaration
public float Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Examples
//Create a new PDF document.
PdfDocument document = new PdfDocument();
//Creates a new page and adds it as the last page of the document
PdfPage page = document.Pages.Add();
//Creates a new PdfCode93Barcode.
PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93");
//Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones();
quietZones.Bottom = 0f;
//Set the barcode quiet zone.
code93.QuietZone = quietZones;
//Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500));
//Save document to disk.
document.Save("code93.pdf");
' Create a new PDF document.
Dim document As PdfDocument = New PdfDocument()
'Creates a new page and adds it as the last page of the document
Dim page As PdfPage = document.Pages.Add()
'Creates a new PdfCode93Barcode.
Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93")
'Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones()
quietZones.Bottom = 0f;
'Set the barcode quiet zone.
code93.QuietZone = quietZones
'Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500))
'Save the document.
document.Save("code93.pdf")
IsAll
Declaration
public bool IsAll { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Examples
//Create a new PDF document.
PdfDocument document = new PdfDocument();
//Creates a new page and adds it as the last page of the document
PdfPage page = document.Pages.Add();
//Creates a new PdfCode93Barcode.
PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93");
//Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones();
quietZones.All = 0f;
//Set the barcode quiet zone.
code93.QuietZone = quietZones;
bool isAll=code93.QuietZone.IsAll;
//Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500));
//Save document to disk.
document.Save("code93.pdf");
' Create a new PDF document.
Dim document As PdfDocument = New PdfDocument()
'Creates a new page and adds it as the last page of the document
Dim page As PdfPage = document.Pages.Add()
'Creates a new PdfCode93Barcode.
Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93")
'Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones()
quietZones.All = 0f
code39.QuietZone=quietZones
Dim isAll As bool = code39.QuietZone.IsAll
'Set the barcode quiet zone.
code93.QuietZone = quietZones
'Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500))
'Save the document.
document.Save("code93.pdf")
Left
Declaration
public float Left { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Examples
//Create a new PDF document.
PdfDocument document = new PdfDocument();
//Creates a new page and adds it as the last page of the document
PdfPage page = document.Pages.Add();
//Creates a new PdfCode93Barcode.
PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93");
//Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones();
quietZones.Left = 0f;
//Set the barcode quiet zone.
code93.QuietZone = quietZones;
//Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500));
//Save document to disk.
document.Save("code93.pdf");
' Create a new PDF document.
Dim document As PdfDocument = New PdfDocument()
'Creates a new page and adds it as the last page of the document
Dim page As PdfPage = document.Pages.Add()
'Creates a new PdfCode93Barcode.
Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93")
'Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones()
quietZones.Left = 0f;
'Set the barcode quiet zone.
code93.QuietZone = quietZones
'Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500))
'Save the document.
document.Save("code93.pdf")
Right
Declaration
public float Right { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Examples
//Create a new PDF document.
PdfDocument document = new PdfDocument();
//Creates a new page and adds it as the last page of the document
PdfPage page = document.Pages.Add();
//Creates a new PdfCode93Barcode.
PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93");
//Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones();
quietZones.Right = 0f;
//Set the barcode quiet zone.
code93.QuietZone = quietZones;
//Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500));
//Save document to disk.
document.Save("code93.pdf");
' Create a new PDF document.
Dim document As PdfDocument = New PdfDocument()
'Creates a new page and adds it as the last page of the document
Dim page As PdfPage = document.Pages.Add()
'Creates a new PdfCode93Barcode.
Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93")
'Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones()
quietZones.Right = 0f;
'Set the barcode quiet zone.
code93.QuietZone = quietZones
'Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500))
'Save the document.
document.Save("code93.pdf")
Top
Declaration
public float Top { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Examples
//Create a new PDF document.
PdfDocument document = new PdfDocument();
//Creates a new page and adds it as the last page of the document
PdfPage page = document.Pages.Add();
//Creates a new PdfCode93Barcode.
PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93");
//Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones();
quietZones.Top = 0f;
//Set the barcode quiet zone.
code93.QuietZone = quietZones;
//Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500));
//Save document to disk.
document.Save("code93.pdf");
'Create a new PDF document.
Dim document As PdfDocument = New PdfDocument()
'Creates a new page and adds it as the last page of the document
Dim page As PdfPage = document.Pages.Add()
'Creates a new PdfCode93Barcode.
Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93")
'Creates a new PdfBarcodeQuietZones.
PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones()
quietZones.Top = 0f;
'Set the barcode quiet zone.
code93.QuietZone = quietZones
'Draw a barcode in the new Page.
code93.Draw(page, new PointF(25, 500))
'Save the document.
document.Save("code93.pdf")