MacroPdf417
Represents a MacroPdf417 barcode.
public class MacroPdf417 : Pdf417, ICoordinate, ISerializable
Public Class MacroPdf417
Inherits Pdf417
Implements ICoordinate, ISerializable
Inheritance: ObjectPageElementTaggablePageElementDim2BarcodePdf417MacroPdf417
Implements: ICoordinate, ISerializable
Licensing Info
This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Examples
The following example will place a MacroPdf417 barcode on the page.Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.PageElements.BarCoding
Module MyModule
Sub Main()
' Create a PDF Document
Dim MyDocument As Document = New Document
' Create a Page and add it to the document
Dim MyPage As Page = New Page
MyDocument.Pages.Add(MyPage)
' Create a MacroPdf417 barcode
Dim macroPdf417 As MacroPdf417 = New MacroPdf417("MacroPdf417 barcode", _
10.0f, 10.0f, 3, 2.0f)
' Add the MacroPdf417 barcode to the page
MyPage.Elements.Add(macroPdf417)
' Save the PDF
MyDocument.Draw("C:\MyDocument.pdf")
End Sub
End Module
using System;
using ceTe.DynamicPDF;
using ceTe.DynamicPDF.PageElements.BarCoding;
public class Example
{
public static void CreatePDF(string outputPath)
{
// Create a PDF Document
Document document = new Document();
// Create a Page and add it to the document
Page page = new Page();
document.Pages.Add(page);
// Create a MacroPdf417 barcode
MacroPdf417 macroPdf417 = new MacroPdf417("MacroPdf417 barcode",
10.0f, 10.0f, 3, 2.0f);
// Add the MacroPdf417 barcode to the page
page.Elements.Add(macroPdf417);
// Save the PDF
document.Draw(outputPath);
}
}
Remarks
Class can be used to generate more than one PDF417 barcode symbols by taking input from the file.
Constructors
| MacroPdf417(Byte[], Single, Single, Int32, Int32, Single) | Initializes a new instance of the MacroPdf417 class. |
| MacroPdf417(Byte[], Single, Single, Int32, Single) | Initializes a new instance of the MacroPdf417 class. |
| MacroPdf417(String, Single, Single, Int32, Int32, Single) | Initializes a new instance of the MacroPdf417 class. |
| MacroPdf417(String, Single, Single, Int32, Single) | Initializes a new instance of the MacroPdf417 class. |
Properties
| Address | Gets or sets included address in the macro PDF417 barcode. |
| Angle | Gets or sets the angle of the barcode. (Inherited from Dim2Barcode) |
| Color | Gets or sets the Color for the barcode. (Inherited from Dim2Barcode) |
| Compaction | Gets or sets the type of compaction. (Inherited from Pdf417) |
| CompactPdf417 | Gets or sets the Compact Pdf417. (Inherited from Pdf417) |
| ErrorCorrection | Gets or sets the error correction level for the PDF417 barcode. (Inherited from Pdf417) |
| FileName | Gets or sets included file name in the macro PDF417 barcode. |
| ID | Gets or sets the ID of the page element. (Inherited from PageElement) |
| IgnoreMargins | Gets or sets ignore margin property. Setting false will consider the margin while placing the page element based on the RelativeTo property. (Inherited from PageElement) |
| IncludeCheckSum | Specifies whether check sum should be included in macro PDF417 barcode or not. |
| IncludeFileSize | Specifies whether file size should be included in macro PDF417 barcode or not. |
| IncludeSegmentCount | Specifies whether to include segment count in MacroPDF417 barcode. |
| IncludeTimeStamp | Specifies whether time stamp should be included in macro PDF417 barcode or not. |
| PixelsPerXDimension | Gets or Sets the pixels per XDimension (Inherited from Dim2Barcode) |
| RelativeTo | Gets and sets placement of the page element on the page. (Inherited from PageElement) |
| Sender | Gets or sets included sender in the macro PDF417 barcode. |
| Tag | Gets or sets the tag of the taggable element. (Inherited from TaggablePageElement) |
| TagOrder | Gets or sets the tag order of the taggable element. (Inherited from TaggablePageElement) |
| Value | Gets or sets the value of the barcode. (Inherited from Pdf417) |
| X | Gets or sets the X coordinate of the barcode. (Inherited from Dim2Barcode) |
| XDimension | Gets or sets the xDimension of the barcode. (Inherited from Dim2Barcode) |
| XDimensionMilliMeters | Gets or sets the XDimensionMilliMeters of the barcode. (Inherited from Dim2Barcode) |
| XDimensionMils | Gets or sets the XDimensionMils of the barcode. (Inherited from Dim2Barcode) |
| XDimensionsPerCentiMeter | Gets or sets the XDimensionsPerCentiMeter of the barcode. (Inherited from Dim2Barcode) |
| XDimensionsPerInch | Gets or sets the XDimensionsPerInch of the barcode. (Inherited from Dim2Barcode) |
| Y | Gets or sets the Y coordinate of the barcode. (Inherited from Dim2Barcode) |
| YDimension | Gets or sets the yDimension of the barcode. (Inherited from Pdf417) |
| YDimensionMilliMeters | Gets or sets the YDimensionMilliMeters of the barcode. (Inherited from Pdf417) |
| YDimensionMils | Gets or sets the YDimensionMils of the barcode. (Inherited from Pdf417) |
| YDimensionsPerCentiMeter | Gets or sets the YDimensionsPerCentiMeter of the barcode. (Inherited from Pdf417) |
| YDimensionsPerInch | Gets or sets the YDimensionsPerInch of the barcode. (Inherited from Pdf417) |
Methods
| Draw(PageWriter) | Draws the macro PDF417 to the given PageWriter object. |
| Equals(Object) | Determines whether the specified Object is equal to the current Object . (Inherited from Object) |
| GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object) |
| GetOverflowMacroPdf417() | Gets a new instance of the MacroPdf417 class. |
| GetOverflowMacroPdf417(Single, Single) | Gets a new instance of the MacroPdf417 class. |
| GetSymbolHeight() | Returns the height required to display the PDF417 barcode. |
| GetSymbolWidth() | Returns the width required to display the macro PDF417 barcode. |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| SetFileID(Int32) | Sets the file ID for the macro PDF417 barcode. |
| SetFileID(Int32[]) | Sets the file ID using an array of base 900 numbers (0 to 899). |
| ToString() | Returns a String that represents the current Object . (Inherited from Object) |