Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Barcode Namespace > PDF417BarcodeWriteOptions Class : SymbolWidthAspectRatio Property |
[DefaultValueAttribute()] [DisplayNameAttribute("Symbol width aspect ratio")] [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
<DefaultValueAttribute()> <DisplayNameAttribute("Symbol width aspect ratio")> <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
[DefaultValueAttribute()] [DisplayNameAttribute("Symbol width aspect ratio")] [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;}
@property (nonatomic, assign) NSInteger symbolWidthAspectRatio
public int getSymbolWidthAspectRatio() public void setSymbolWidthAspectRatio(int value)
DefaultValueAttribute() DisplayNameAttribute("Symbol width aspect ratio") 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") <br/>get_SymbolWidthAspectRatio();<br/>set_SymbolWidthAspectRatio(value);<br/>Object.defineProperty('SymbolWidthAspectRatio');
[DefaultValueAttribute()] [DisplayNameAttribute("Symbol width aspect ratio")] [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); }
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.
For an example, refer to PDF417BarcodeWriteOptions.