←Select platform

Width Property

Summary
Gets or sets the new image width in pixels.
Syntax
C#
VB
Objective-C
C++
Java
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.