Document Solutions for PDF
GrapeCity.Documents.Barcode Assembly / GrapeCity.Documents.Barcode Namespace / GcBarcode Class
Properties Methods

In This Topic
    GcBarcode Class Members
    In This Topic

    The following tables list the members exposed by GcBarcode.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the GcBarcode class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the barcode encoding. The default is CodeType.Code39.  
    Public PropertyGets or sets the horizontal alignment of the barcode.  
    Public PropertyGets the BarcodeOptions object defining the barcode.  
    Public PropertyGets or sets the scale factor applied to the barcode image and caption. The default is 1, larger values increase the barcode size, lesser decrease.  
    Public PropertyGets or sets the value that is encoded by the barcode.  
    Public PropertyGets or sets the text format used to draw the barcode label.  
    Public PropertyGets or sets the vertical alignment of the barcode.  
    Top
    Public Methods
     NameDescription
    Public MethodGets the barcode caption. In some cases this may differ from the encoded value.  
    Public MethodRenders the current barcode into a new instance of GrapeCity.Documents.Imaging.GcBitmap with the specified resolution. It is the responsibility of the caller to dispose the returned bitmap after use.

    Note that when the bitmap is drawn on a GcPdfGraphics, it must not be disposed until after the target PDF is saved.

     
    Top
    See Also