←Select platform

XModuleAspectRatio Property (MicroPDF417BarcodeWriteOptions)

Summary

Gets or sets a value that indicate the ratio of the width of the smallest element (XModule) to the height of a row of the MicroPDF417 symbol.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[DisplayNameAttribute("XModule aspect ratio")] 
[DefaultValueAttribute()] 
[CategoryAttribute("    Size")] 
[DescriptionAttribute("The ratio of the width of the smallest element (XModule) to the height of a row of the MicroPDF417 symbol. Must be value greater than or equal to 1")] 
public int XModuleAspectRatio {get; set;} 
<DisplayNameAttribute("XModule aspect ratio")> 
<DefaultValueAttribute()> 
<CategoryAttribute(" Size")> 
<DescriptionAttribute("The ratio of the width of the smallest element (XModule) to the height of a row of the MicroPDF417 symbol. Must be value greater than or equal to 1")> 
Public Property XModuleAspectRatio As Integer 
[DisplayNameAttribute("XModule aspect ratio")] 
[DefaultValueAttribute()] 
[CategoryAttribute("    Size")] 
[DescriptionAttribute("The ratio of the width of the smallest element (XModule) to the height of a row of the MicroPDF417 symbol. Must be value greater than or equal to 1")] 
public int XModuleAspectRatio {get; set;} 
@property (nonatomic, assign) NSInteger xModuleAspectRatio 
public int getXModuleAspectRatio() 
public void setXModuleAspectRatio(int value) 
             
DisplayNameAttribute("XModule aspect ratio") 
DefaultValueAttribute() 
CategoryAttribute(" Size") 
DescriptionAttribute("The ratio of the width of the smallest element (XModule) to the height of a row of the MicroPDF417 symbol. Must be value greater than or equal to 1") 
  
get_XModuleAspectRatio(); 
set_XModuleAspectRatio(value); 
Object.defineProperty('XModuleAspectRatio');  
[DisplayNameAttribute("XModule aspect ratio")] 
[DefaultValueAttribute()] 
[CategoryAttribute("    Size")] 
[DescriptionAttribute("The ratio of the width of the smallest element (XModule) to the height of a row of the MicroPDF417 symbol. Must be value greater than or equal to 1")] 
public: 
property int XModuleAspectRatio { 
   int get(); 
   void set (    int ); 
} 

Property Value

An Int32 that indicates the ratio of the width of the smallest element (XModule) to the height of a row of the MicroPDF417 symbol. Must be value greater than or equal to 1. The default value is 3.

Remarks

Use this property to control the width of height of the result MicroPDF417 barcode. The smallest element size is set in XModule

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

Example

For an example, refer to MicroPDF417BarcodeWriteOptions.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize