←Select platform

SymbolWidthAspectRatio Property

Summary

Gets or sets a value that indicates the width part of the aspect ratio for the symbol.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int SymbolWidthAspectRatio { get; set; } 
Public Property SymbolWidthAspectRatio As Integer 
public int SymbolWidthAspectRatio {get; set;} 
@property (nonatomic, assign) NSInteger symbolWidthAspectRatio 
public int getSymbolWidthAspectRatio() 
public void setSymbolWidthAspectRatio(int value) 
             
 <br/>get_SymbolWidthAspectRatio();<br/>set_SymbolWidthAspectRatio(value);<br/>Object.defineProperty('SymbolWidthAspectRatio');  
public: 
property int SymbolWidthAspectRatio { 
   int get(); 
   void set (    int ); 
} 

Property Value

An 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly