IBarcode Methods
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
The IBarcode type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddDecorationImage(Image, Int32) | Add decorative image to draw in the center of the barcode. (!) Supported with QR Code only. | |
AddDecorationImage(String, Int32) | Add decorative image to draw in the center of the barcode. (!) Supported with QR Code only. | |
CreateProfile(String) | Creates JSON profile will all Barcode properties with current values. | |
CreateProfile(String, String) | Creates JSON profile will all Barcode properties with current values. | |
Draw(Graphics, Point) | Draws the barcode on Graphics canvas object. | |
Draw(Graphics, Single, Single, UnitOfMeasure) | Draws the barcode. | |
DrawHDC(IntPtr, Int32, Int32) | Draws the barcode on HDC canvas object. | |
DrawHDC(IntPtr, Single, Single, UnitOfMeasure) | Draws the barcode on HDC graphics context. | |
DrawImagesToPDF(Stream, Stream, DrawImagesToPDFCallback) | Utility method allowing to draw any image on specified page of PDF document. | |
DrawImagesToPDF(String, String, DrawImagesToPDFCallback) | Utility method allowing to draw any image on specified page of PDF document. | |
DrawImagesToPDF(Stream, Int32, Image, Point, Stream) | Utility method allowing to draw any image on specified page of PDF document. | |
DrawImagesToPDF(String, Int32, Image, Point, String) | Utility method allowing to draw any image on specified page of PDF document. | |
DrawImagesToPDF(Stream, Int32, Image, Point, Stream, String) | Utility method allowing to draw any image on specified page of PDF document. | |
DrawImagesToPDF(String, Int32, Image, Point, String, String) | Utility method allowing to draw any image on specified page of PDF document. | |
DrawToImage(Stream, Int32, Int32, Int32, Stream) | Draws barcode to image at specified coordinates. | |
DrawToImage(String, Int32, Int32, Int32, String) | Draws barcode to image at specified coordinates. | |
DrawToNewPDF(String) | Creates new PDF document and draws barcode on it. | |
DrawToNewPDF(String, Int32, Int32, Int32, Int32) | Creates new PDF document and draws barcode on it. | |
DrawToPDF(Stream, Int32, Int32, Int32, Stream) | Draws barcode on specified page of PDF document. | |
DrawToPDF(String, Int32, Int32, Int32, String) | Draws barcode on specified page of PDF document. | |
FitInto(Size) | IMPORTANT: Call this method AFTER setting the barcode value. Fits the barcode into the area of size specified in pixels. Calling this method will change output size of the barcode. Barcode size will be increased in order to occupy all of the area. | |
FitInto(SizeF, UnitOfMeasure) | IMPORTANT: Call this method AFTER setting the barcode value. Fits the barcode into the area of size specified in units. Calling this method will change output size of the barcode. Barcode size will be increased in order to occupy all of the area. | |
FitInto(Int32, Int32) | IMPORTANT: Call this method AFTER setting the barcode value. Fits the barcode into the area of size specified in pixels. Calling this method will change output size of the barcode. Barcode size will be increased in order to occupy all of the area. | |
FitInto(Single, Single, UnitOfMeasure) | IMPORTANT: Call this method AFTER setting the barcode value. Fits the barcode into the area of size specified in units. Calling this method will change output size of the barcode. Barcode size will be increased in order to occupy all of the area. | |
GetBarHeight | Returns the height of the barcode bars in specified units. | |
GetImage | Gets the Image object with the barcode. | |
GetImageBytes | Returns the barcode image as byte array. | |
GetImageBytesEMF | Returns the barcode image in EMF format as byte array. | |
GetImageBytesGIF | Returns the barcode image in GIF format as byte array. | |
GetImageBytesJPG | Returns the barcode image in JPEG format as byte array. | |
GetImageBytesPNG | Returns the barcode image in PNG format as byte array. | |
GetImageBytesTIFF | Returns the barcode image in TIFF format as byte array. | |
GetImageBytesWMF | Returns the barcode image in WMF format as byte array. | |
GetMarginBottom | Retrieves the bottom barcode margin value in specified units. | |
GetMarginLeft | Returns the left barcode margin value in specified units. | |
GetMarginRight | Returns the right barcode margin value in specified units. | |
GetMargins | Returns the barcode margins in specified units. | |
GetMarginTop | Returns the top barcode margin value in specified units. | |
GetMinimalHeight | Returns the height in specified units of the smallest rectangle that can accommodate the barcode. | |
GetMinimalSize | Gets or sets the size of the smallest rectangle in pixels that can accommodate the barcode. | |
GetMinimalSize(UnitOfMeasure) | Returns the size in specified units of the smallest rectangle that can accommodate the barcode. | |
GetMinimalWidth | Returns the width in specified units of the smallest rectangle that can accommodate the barcode. | |
GetNarrowBarWidth | Retrieves the width of the narrow bar in specified units. | |
GetPDFDimensions(Stream) | Returns size of PDF document pages in document units. | |
GetPDFDimensions(String) | Returns size of PDF document pages in document units. | |
GetPdfPageCount(Stream) | Returns count of pages in PDF document. | |
GetPdfPageCount(String) | Returns count of pages in PDF document. | |
GetSupplementaryValueRestrictions | Gets the supplementary value restrictions. | |
GetValueRestrictions | Gets the value restrictions for the specified symbology. | |
LoadAndApplyProfiles | Loads profiles from JSON string and automatically applies them. Note that profiles containing detection keywords will be deferred until the extraction. | |
LoadProfiles | Loads profiles from file. | |
LoadProfilesFromString | Loads profiles from JSON string. | |
ProcessMacros | Replaces macro codes with corresponding ASCII control characters. | |
RevertToNormalSize | Reverts any changes to barcode size caused by a call to any of FitInto methods. | |
SaveImage(Stream) | Saves the barcode image to specified stream. | |
SaveImage(String) | Saves the barcode image to file. | |
SaveImage(Stream, ImageFormat) | Saves the barcode image to specified stream. | |
SaveImage(String, ImageFormat) | Saves the barcode image to file. | |
SaveImage(Stream, ImageFormat, Size, Int32, Int32) | Saves the image with barcode into given stream. | |
SaveImage(String, ImageFormat, Size, Int32, Int32) | Saves the barcode image to file. | |
SetAdditionalCaptionFont(String, Int32) | Sets the font of the additional barcode caption. | |
SetAdditionalCaptionFont(String, Int32, Boolean, Boolean, Boolean, Boolean, Byte) | Sets the font of the barcode additional caption. | |
SetBackColorRGB | Sets the background color in RGB format. | |
SetBarHeight | Sets the height of the barcode bars in specified units. | |
SetCaptionFont(String, Int32) | Sets the font of the barcode caption. | |
SetCaptionFont(String, Int32, Boolean, Boolean, Boolean, Boolean, Byte) | Sets the font of the barcode caption font. | |
SetCustomCaptionGap | Sets the gap size between the barcode and caption. To reset the gap to default (1/10 of caption font height) set gap to float.NaN. | |
SetForeColorRGB | Sets the fore color in RGB format. | |
SetMargins | Sets the barcode margins in specified units. | |
SetNarrowBarWidth | Sets the width of the narrow bars in specified units. | |
SetSmoothingMode | Sets the barcode rendering quality. | |
ValueIsValid(String) | Validates the value using current symbology rules. | |
ValueIsValid(String, Boolean) | Validates the value using current symbology rules. | |
ValueIsValidGS1 | Validates the GS1 value using GS1 rules. |
See Also