📄 barcodeclass.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML DIR="LTR"><HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>Barcode Class</TITLE>
</HEAD>
<body topmargin="0">
<font size="-1"> Barcode .Net Class Library</font>
<H3>Barcode Class</H3>
<P>Exposes all the core functionalities of the Barcode .Net library as a <b>Component</b>.</P>
<P>System.Object<BR>
System.MarshalByRefObject<BR>
System.ComponentModel.Component<BR>
<B>Bokai.Barcodes.Barcode</B><BR>
<PRE><font size="-1">[Visual Basic]</font>
<B>Public Class Barcode
Inherits Component
</B>
<font size="-1">[C#]</font>
<B>public class Barcode : Component</B>
</PRE>
<H4>Thread Safety</H4>
<P>Any public static (<B>Shared</B> in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.</P>
<H4>Remarks</H4>
<P><B>Barcode</B> implements all the core functionalities of the Barcode .Net class library. Other classes
in the library are just wrappers of it. <b>Barcode</b> is a <b>Component</b> so you can host it
wherever a <B>Component</B> can be hosted.
<p><b>Barcode</b> supports the following features:
<ul>
<li>You can draw a barcode to a Graphics object using one of the <a href="mdraw.htm">Draw</a> methods.
<li>You can generate a barcode image (in any .Net supported image formats including GIF, PNG,
JPEG, and BMP) and send it to a <b>Stream</b> (<a href="mmakeimage.htm">MakeImage</a>) or save
it to a file (<a href="msaveimage.htm">SaveImage</a>).
<li>You can also get the barcode bar and space definitions (positions and widths).
<li>Various drawing attributes are supported, including rotation, fonts, color, etc.
</ul>
To use <b>Barcode</b>, the first thing you do is call one of the constructors to
create a <b>Barcode</b> instance. You may specify the barcode type at the instance creation time
or set it after. Next, you can call the relevant methods to draw the barcode, generate
an image, etc.
<H4 class="dtH4">See Also</H4>
<P><A HREF="barcodeControl.htm">BarcodeControl</A> | <A HREF="barcodeImage.htm">BarcodeImage</A></P>
<HR>
<font size="-1">© 2002 Bokai Corporation. All rights reserved.</font>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -