LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

SymbolWidthAspectRatio Property








Gets or sets a value that indicates the width part of the aspect ratio for the symbol. .NET support WinRT support Silverlight support
Syntax
[DisplayNameAttribute("Symbol width aspect ratio")]
[DefaultValueAttribute()]
[DescriptionAttribute("The width part of the aspect ratio for the symbol. Aspect ratio is Symbol height aspect ratio/symbol width aspect ratio. Must be value greater than or equal to 1")]
[CategoryAttribute("	Size")]
public int SymbolWidthAspectRatio {get; set;}
'Declaration
 
<DisplayNameAttribute("Symbol width aspect ratio")>
<DefaultValueAttribute()>
<DescriptionAttribute("The width part of the aspect ratio for the symbol. Aspect ratio is Symbol height aspect ratio/symbol width aspect ratio. Must be value greater than or equal to 1")>
<CategoryAttribute("	Size")>
Public Property SymbolWidthAspectRatio As Integer
'Usage
 
Dim instance As PDF417BarcodeWriteOptions
Dim value As Integer
 
instance.SymbolWidthAspectRatio = value
 
value = instance.SymbolWidthAspectRatio
[DisplayNameAttribute("Symbol width aspect ratio")]
[DefaultValueAttribute()]
[DescriptionAttribute("The width part of the aspect ratio for the symbol. Aspect ratio is Symbol height aspect ratio/symbol width aspect ratio. Must be value greater than or equal to 1")]
[CategoryAttribute("	Size")]
public int SymbolWidthAspectRatio {get; set;}
ObjectiveC Syntax
Java Syntax
DisplayNameAttribute("Symbol width aspect ratio")
DefaultValueAttribute()
DescriptionAttribute("The width part of the aspect ratio for the symbol. Aspect ratio is Symbol height aspect ratio/symbol width aspect ratio. Must be value greater than or equal to 1")
CategoryAttribute("	Size")
 get_SymbolWidthAspectRatio();
set_SymbolWidthAspectRatio(value);
[DisplayNameAttribute("Symbol width aspect ratio")]
[DefaultValueAttribute()]
[DescriptionAttribute("The width part of the aspect ratio for the symbol. Aspect ratio is Symbol height aspect ratio/symbol width aspect ratio. Must be value greater than or equal to 1")]
[CategoryAttribute("	Size")]
public:
property int SymbolWidthAspectRatio {
   int get();
   void set (    int value);
}

Property Value

An System.Int32 that indicate the width part of the aspect ratio for the symbol. Must be a value greater than or equal to 1. The default value is 2.
Remarks

Aspect ratio to use when writing PDF417 symbols is "Symbol height aspect ratio" divided by "Symbol width aspect ratio" or SymbolHeightAspectRatio/ SymbolWidthAspectRatio. The default values for these properties is 1 and 2 respectively. Therefore, the default aspect ratio is 1/2 or 0.5

Only used when the value of LimitByRowsAndColumns is false.

For more information, refer to Writing Barcodes - Bounds and XModule.

Example

For an example, refer to PDF417BarcodeWriteOptions.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDF417BarcodeWriteOptions Class
PDF417BarcodeWriteOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features