NSDBarcode メンバ

バーコード関数の基本クラス。


●コンストラクタ

名前 説明
NSDBarcode NSDBarcodeを初期化します。

●メソッドの一覧

名前 引数 戻り値 説明
Dispose なし なし リソースの解放を行います。

●定数の一覧

名前:NSD_GRAPHICS_UNIT データ長さ単位
名前 内容
Display ディスプレイ 画面=ピクセル プリンタ=1/100インチ
Pixel ピクセル
Point ポイント 1/72インチ
Inch インチ
Document 1/300インチ
Millimeter ミリメートル

 

名前:NSD_STANDARD_WIDTH 幅の基準
名前 内容
NARROW_WIDTH 細線を基準にします。
MINIMUM_WIDTH 最小ライン幅を基準にします。
ALL_WIDTH 全体の幅を基準にします。

●NSDBarcodeコンストラクタの説明

構文:Public Sub New()

使用法:Dim Cls_Barcode As New NSDBarcode

引数:なし。

使用例:

Public Class Form1
    Dim Cls_Barcode As New NSDBarcode
        :
End Class

●NSDBarcodeメソッドの説明

名前:Dispose
構文:Public Overridable Sub Dispose() Implements IDisposable.Dispose

機能:リソースを解放します。

※終了時に必ず呼び出します。

引数:なし。

戻り値:なし。

使用例:

Public Class Form1
    Dim Cls_Barcode As New NSDBarcode

    Private Sub Form1_FormClosed( sender As Object, _
                                  e As System.Windows.Forms.FormClosedEventArgs _
                                  ) Handles Me.FormClosed
        If Not (Cls_Barcode Is Nothing) Then
            Cls_Barcode.Dispose()
            Cls_Barcode = Nothing
        End If
    End Sub
End Class

Copyright (C) 2013 Nihon System Developer Corp. All Rights Reserved.