Aspose.Barcode for Python via Java Generation and Recognition API docs
SubfileProperties Class Reference

Inherits _MwWrapper.

Public Member Functions

def __init__ (self, type)
 
def length (self)
 
def length (self, value)
 
def offset (self)
 
def offset (self, value)
 
def type (self)
 
def type (self, value)
 

Detailed Description

USA DL subfile properties; offset and length are set automatically.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  type 
)

Member Function Documentation

◆ length() [1/2]

def length (   self)
4 bytes contain a 4-digit numeric value that specifies the length of the subfile in bytes.
The segment terminator must be included when calculating the length (segment terminator = 1).
Each subfile must begin with the two-character Subfile Type, and these two characters must
also be included in the length.

◆ length() [2/2]

def length (   self,
  value 
)
4 bytes contain a 4-digit numeric value that specifies the length of the subfile in bytes.
The segment terminator must be included when calculating the length (segment terminator = 1).
Each subfile must begin with the two-character Subfile Type, and these two characters must
also be included in the length.

◆ offset() [1/2]

def offset (   self)
4-digit numeric value that specifies the number of bytes from the head (beginning)
of the file to where the data related to the particular subfile is located.
The first byte in the file is located at offset 0.

◆ offset() [2/2]

def offset (   self,
  value 
)
4-digit numeric value that specifies the number of bytes from the head (beginning)
of the file to where the data related to the particular subfile is located.
The first byte in the file is located at offset 0.

◆ type() [1/2]

def type (   self)
2-byte type of subfile, like "DL".

◆ type() [2/2]

def type (   self,
  value 
)
2-byte type of subfile, like "DL".