←Select platform

Width Property

Summary

Gets or sets the new image width in pixels.

Syntax
C#
VB
Java
Objective-C
C++
public int Width { get; set; } 
Public Property Width As Integer 
@property (nonatomic, assign) NSInteger width 
public int getWidth() 
public void setWidth(int value) 
public: 
property int Width { 
   int get(); 
   void set (    int ); 
} 

Property Value

New image width in pixels.

Example

For an example, refer to SizeCommand.

Remarks

You can set either the Width or Height to 0 and LEADTOOLS will calculate the correct value for the other property based on the image's aspect ratio.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly