Aspose::BarCode::Generation::BarcodeParameters Class Reference

Barcode generation parameters. More...

Inherits System::Object.

Public Member Functions

System::SharedPtr< Unitget_XDimension () const
 x-dimension is the smallest width of the unit of BarCode bars or spaces. Increase this will increase the whole barcode image width. Ignored if BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation. More...
 
void set_XDimension (System::SharedPtr< Unit > value)
 x-dimension is the smallest width of the unit of BarCode bars or spaces. Increase this will increase the whole barcode image width. Ignored if BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation. More...
 
System::SharedPtr< Unitget_BarHeight () const
 Height of 1D barcodes' bars in Unit value. Ignored if BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation. More...
 
void set_BarHeight (System::SharedPtr< Unit > value)
 Height of 1D barcodes' bars in Unit value. Ignored if BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation. More...
 
System::Drawing::Color get_BarColor () const
 Bars color. Default value: Color.Black. More...
 
void set_BarColor (System::Drawing::Color value)
 Bars color. Default value: Color.Black. More...
 
System::SharedPtr< Aspose::BarCode::Generation::Paddingget_Padding () const
 Barcode paddings. Default value: 5pt 5pt 5pt 5pt. More...
 
bool get_ChecksumAlwaysShow () const
 Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes. More...
 
void set_ChecksumAlwaysShow (bool value)
 Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes. More...
 
EnableChecksum get_IsChecksumEnabled () const
 
void set_IsChecksumEnabled (EnableChecksum value)
 
bool get_EnableEscape () const
 Indicates whether explains the character "\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters. More...
 
void set_EnableEscape (bool value)
 Indicates whether explains the character "\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters. More...
 
bool get_ThrowExceptionWhenCodeTextIncorrect () const
 Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingapurePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect. More...
 
void set_ThrowExceptionWhenCodeTextIncorrect (bool value)
 Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingapurePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect. More...
 
float get_WideNarrowRatio ()
 Wide bars to Narrow bars ratio. Default value: 3, that is, wide bars are 3 times as wide as narrow bars. Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard More...
 
void set_WideNarrowRatio (float value)
 Wide bars to Narrow bars ratio. Default value: 3, that is, wide bars are 3 times as wide as narrow bars. Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard More...
 
System::SharedPtr< CodetextParametersget_CodeTextParameters () const
 Codetext parameters. More...
 
bool get_FilledBars () const
 Gets a value indicating whether bars filled. Only for 1D barcodes. Default value: true. More...
 
void set_FilledBars (bool value)
 Sets a value indicating whether bars filled. Only for 1D barcodes. Default value: true. More...
 
System::SharedPtr< Unitget_BarWidthReduction () const
 Get or sets bars reduction value that is used to compensate ink spread while printing. Default value: 0 More...
 
void set_BarWidthReduction (System::SharedPtr< Unit > value)
 Get or sets bars reduction value that is used to compensate ink spread while printing. Default value: 0 More...
 
System::SharedPtr< PostalParametersget_Postal () const
 Postal parameters. Used for Postnet, Planet. More...
 
System::SharedPtr< PatchCodeParametersget_PatchCode () const
 PatchCode parameters. More...
 
System::SharedPtr< AustralianPostParametersget_AustralianPost () const
 AustralianPost barcode parameters. More...
 
System::SharedPtr< DataBarParametersget_DataBar () const
 Databar parameters. More...
 
System::SharedPtr< GS1CompositeBarParametersget_GS1CompositeBar () const
 GS1 Composite Bar parameters. More...
 
void set_GS1CompositeBar (System::SharedPtr< GS1CompositeBarParameters > value)
 GS1 Composite Bar parameters. More...
 
System::SharedPtr< CodablockParametersget_Codablock () const
 Codablock parameters. More...
 
System::SharedPtr< DataMatrixParametersget_DataMatrix () const
 DataMatrix parameters. More...
 
System::SharedPtr< Code16KParametersget_Code16K () const
 Code16K parameters. More...
 
System::SharedPtr< DotCodeParametersget_DotCode () const
 DotCode parameters. More...
 
System::SharedPtr< ITFParametersget_ITF () const
 ITF parameters. More...
 
System::SharedPtr< Pdf417Parametersget_Pdf417 () const
 PDF417 parameters. More...
 
System::SharedPtr< QrParametersget_QR () const
 QR, MicroQR and RectMicroQR parameters. More...
 
System::SharedPtr< SupplementParametersget_Supplement () const
 Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN. More...
 
System::SharedPtr< MaxiCodeParametersget_MaxiCode () const
 MaxiCode parameters. More...
 
System::SharedPtr< AztecParametersget_Aztec () const
 Aztec parameters. More...
 
System::SharedPtr< Code128Parametersget_Code128 () const
 Code128 parameters. More...
 
System::SharedPtr< CodabarParametersget_Codabar () const
 Codabar parameters. More...
 
System::SharedPtr< CouponParametersget_Coupon () const
 Coupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon. More...
 
System::SharedPtr< HanXinParametersget_HanXin () const
 HanXin parameters. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 

Detailed Description

Barcode generation parameters.

Member Function Documentation

◆ get_AustralianPost()

System::SharedPtr<AustralianPostParameters> Aspose::BarCode::Generation::BarcodeParameters::get_AustralianPost ( ) const

AustralianPost barcode parameters.

◆ get_Aztec()

System::SharedPtr<AztecParameters> Aspose::BarCode::Generation::BarcodeParameters::get_Aztec ( ) const

Aztec parameters.

◆ get_BarColor()

System::Drawing::Color Aspose::BarCode::Generation::BarcodeParameters::get_BarColor ( ) const

Bars color. Default value: Color.Black.

◆ get_BarHeight()

System::SharedPtr<Unit> Aspose::BarCode::Generation::BarcodeParameters::get_BarHeight ( ) const

Height of 1D barcodes' bars in Unit value. Ignored if BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation.

◆ get_BarWidthReduction()

System::SharedPtr<Unit> Aspose::BarCode::Generation::BarcodeParameters::get_BarWidthReduction ( ) const

Get or sets bars reduction value that is used to compensate ink spread while printing. Default value: 0

◆ get_ChecksumAlwaysShow()

bool Aspose::BarCode::Generation::BarcodeParameters::get_ChecksumAlwaysShow ( ) const

Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.

◆ get_Codabar()

System::SharedPtr<CodabarParameters> Aspose::BarCode::Generation::BarcodeParameters::get_Codabar ( ) const

Codabar parameters.

◆ get_Codablock()

System::SharedPtr<CodablockParameters> Aspose::BarCode::Generation::BarcodeParameters::get_Codablock ( ) const

Codablock parameters.

◆ get_Code128()

System::SharedPtr<Code128Parameters> Aspose::BarCode::Generation::BarcodeParameters::get_Code128 ( ) const

Code128 parameters.

◆ get_Code16K()

System::SharedPtr<Code16KParameters> Aspose::BarCode::Generation::BarcodeParameters::get_Code16K ( ) const

Code16K parameters.

◆ get_CodeTextParameters()

System::SharedPtr<CodetextParameters> Aspose::BarCode::Generation::BarcodeParameters::get_CodeTextParameters ( ) const

Codetext parameters.

◆ get_Coupon()

System::SharedPtr<CouponParameters> Aspose::BarCode::Generation::BarcodeParameters::get_Coupon ( ) const

Coupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.

◆ get_DataBar()

System::SharedPtr<DataBarParameters> Aspose::BarCode::Generation::BarcodeParameters::get_DataBar ( ) const

Databar parameters.

◆ get_DataMatrix()

System::SharedPtr<DataMatrixParameters> Aspose::BarCode::Generation::BarcodeParameters::get_DataMatrix ( ) const

DataMatrix parameters.

◆ get_DotCode()

System::SharedPtr<DotCodeParameters> Aspose::BarCode::Generation::BarcodeParameters::get_DotCode ( ) const

DotCode parameters.

◆ get_EnableEscape()

bool Aspose::BarCode::Generation::BarcodeParameters::get_EnableEscape ( ) const

Indicates whether explains the character "\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters.

Aspose.BarCode supports inputing decimal ascii code and mnemonic for ASCII control-code characters. For example, \013 and \CR stands for CR.

◆ get_FilledBars()

bool Aspose::BarCode::Generation::BarcodeParameters::get_FilledBars ( ) const

Gets a value indicating whether bars filled. Only for 1D barcodes. Default value: true.

◆ get_GS1CompositeBar()

System::SharedPtr<GS1CompositeBarParameters> Aspose::BarCode::Generation::BarcodeParameters::get_GS1CompositeBar ( ) const

GS1 Composite Bar parameters.

This sample shows how to create and save a GS1 Composite Bar image. Note that 1D codetext and 2D codetext are separated by symbol '|'

[C#]
var codetext = "(01)03212345678906|(21)A1B2C3D4E5F6G7H8";
using (var generator = new BarcodeGenerator(EncodeTypes.GS1CompositeBar, codetext))
{
generator.Parameters.Barcode.GS1CompositeBar.LinearComponentType = EncodeTypes.GS1Code128;
generator.Parameters.Barcode.GS1CompositeBar.TwoDComponentType = TwoDComponentType.CC_A;
// Aspect ratio of 2D component
generator.Parameters.Barcode.Pdf417.AspectRatio = 3;
// X-Dimension of 1D and 2D components
generator.Parameters.Barcode.XDimension.Pixels = 3;
// Height of 1D component
generator.Parameters.Barcode.BarHeight.Pixels = 100;
generator.Save("test.png");
}

◆ get_HanXin()

System::SharedPtr<HanXinParameters> Aspose::BarCode::Generation::BarcodeParameters::get_HanXin ( ) const

HanXin parameters.

◆ get_IsChecksumEnabled()

EnableChecksum Aspose::BarCode::Generation::BarcodeParameters::get_IsChecksumEnabled ( ) const

Enable checksum during generation 1D barcodes.

Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible.

Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar

Checksum always used: Rest symbology

◆ get_ITF()

System::SharedPtr<ITFParameters> Aspose::BarCode::Generation::BarcodeParameters::get_ITF ( ) const

ITF parameters.

◆ get_MaxiCode()

System::SharedPtr<MaxiCodeParameters> Aspose::BarCode::Generation::BarcodeParameters::get_MaxiCode ( ) const

MaxiCode parameters.

◆ get_Padding()

System::SharedPtr<Aspose::BarCode::Generation::Padding> Aspose::BarCode::Generation::BarcodeParameters::get_Padding ( ) const

Barcode paddings. Default value: 5pt 5pt 5pt 5pt.

◆ get_PatchCode()

System::SharedPtr<PatchCodeParameters> Aspose::BarCode::Generation::BarcodeParameters::get_PatchCode ( ) const

PatchCode parameters.

◆ get_Pdf417()

System::SharedPtr<Pdf417Parameters> Aspose::BarCode::Generation::BarcodeParameters::get_Pdf417 ( ) const

PDF417 parameters.

◆ get_Postal()

System::SharedPtr<PostalParameters> Aspose::BarCode::Generation::BarcodeParameters::get_Postal ( ) const

Postal parameters. Used for Postnet, Planet.

◆ get_QR()

System::SharedPtr<QrParameters> Aspose::BarCode::Generation::BarcodeParameters::get_QR ( ) const

QR, MicroQR and RectMicroQR parameters.

◆ get_Supplement()

System::SharedPtr<SupplementParameters> Aspose::BarCode::Generation::BarcodeParameters::get_Supplement ( ) const

Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN.

◆ get_ThrowExceptionWhenCodeTextIncorrect()

bool Aspose::BarCode::Generation::BarcodeParameters::get_ThrowExceptionWhenCodeTextIncorrect ( ) const

Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingapurePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect.

◆ get_WideNarrowRatio()

float Aspose::BarCode::Generation::BarcodeParameters::get_WideNarrowRatio ( )

Wide bars to Narrow bars ratio. Default value: 3, that is, wide bars are 3 times as wide as narrow bars. Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard

Exceptions
ArgumentException

The WideNarrowRatio parameter value is less than or equal to 0.

◆ get_XDimension()

System::SharedPtr<Unit> Aspose::BarCode::Generation::BarcodeParameters::get_XDimension ( ) const

x-dimension is the smallest width of the unit of BarCode bars or spaces. Increase this will increase the whole barcode image width. Ignored if BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation.

◆ set_BarColor()

void Aspose::BarCode::Generation::BarcodeParameters::set_BarColor ( System::Drawing::Color  value)

Bars color. Default value: Color.Black.

◆ set_BarHeight()

void Aspose::BarCode::Generation::BarcodeParameters::set_BarHeight ( System::SharedPtr< Unit value)

Height of 1D barcodes' bars in Unit value. Ignored if BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation.

◆ set_BarWidthReduction()

void Aspose::BarCode::Generation::BarcodeParameters::set_BarWidthReduction ( System::SharedPtr< Unit value)

Get or sets bars reduction value that is used to compensate ink spread while printing. Default value: 0

◆ set_ChecksumAlwaysShow()

void Aspose::BarCode::Generation::BarcodeParameters::set_ChecksumAlwaysShow ( bool  value)

Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.

◆ set_EnableEscape()

void Aspose::BarCode::Generation::BarcodeParameters::set_EnableEscape ( bool  value)

Indicates whether explains the character "\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters.

Aspose.BarCode supports inputing decimal ascii code and mnemonic for ASCII control-code characters. For example, \013 and \CR stands for CR.

◆ set_FilledBars()

void Aspose::BarCode::Generation::BarcodeParameters::set_FilledBars ( bool  value)

Sets a value indicating whether bars filled. Only for 1D barcodes. Default value: true.

◆ set_GS1CompositeBar()

void Aspose::BarCode::Generation::BarcodeParameters::set_GS1CompositeBar ( System::SharedPtr< GS1CompositeBarParameters value)

GS1 Composite Bar parameters.

This sample shows how to create and save a GS1 Composite Bar image. Note that 1D codetext and 2D codetext are separated by symbol '|'

[C#]
var codetext = "(01)03212345678906|(21)A1B2C3D4E5F6G7H8";
using (var generator = new BarcodeGenerator(EncodeTypes.GS1CompositeBar, codetext))
{
generator.Parameters.Barcode.GS1CompositeBar.LinearComponentType = EncodeTypes.GS1Code128;
generator.Parameters.Barcode.GS1CompositeBar.TwoDComponentType = TwoDComponentType.CC_A;
// Aspect ratio of 2D component
generator.Parameters.Barcode.Pdf417.AspectRatio = 3;
// X-Dimension of 1D and 2D components
generator.Parameters.Barcode.XDimension.Pixels = 3;
// Height of 1D component
generator.Parameters.Barcode.BarHeight.Pixels = 100;
generator.Save("test.png");
}

◆ set_IsChecksumEnabled()

void Aspose::BarCode::Generation::BarcodeParameters::set_IsChecksumEnabled ( EnableChecksum  value)

Enable checksum during generation 1D barcodes.

Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible.

Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar

Checksum always used: Rest symbology

◆ set_ThrowExceptionWhenCodeTextIncorrect()

void Aspose::BarCode::Generation::BarcodeParameters::set_ThrowExceptionWhenCodeTextIncorrect ( bool  value)

Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingapurePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect.

◆ set_WideNarrowRatio()

void Aspose::BarCode::Generation::BarcodeParameters::set_WideNarrowRatio ( float  value)

Wide bars to Narrow bars ratio. Default value: 3, that is, wide bars are 3 times as wide as narrow bars. Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard

Exceptions
ArgumentException

The WideNarrowRatio parameter value is less than or equal to 0.

◆ set_XDimension()

void Aspose::BarCode::Generation::BarcodeParameters::set_XDimension ( System::SharedPtr< Unit value)

x-dimension is the smallest width of the unit of BarCode bars or spaces. Increase this will increase the whole barcode image width. Ignored if BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation.