Accusoft.ImagXpress13.Net
AspectY Property




Gets and sets the vertical aspect ratio of the current image.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
Public Property AspectY As Integer
'Usage
 
Dim instance As ImageXView
Dim value As Integer
 
instance.AspectY = value
 
value = instance.AspectY
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
public int AspectY {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
public: __property int get_AspectY();
public: __property void set_AspectY( 
   int value
);
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
public:
property int AspectY {
   int get();
   void set (    int value);
}

Property Value

An integer value which represents the vertical aspect ratio.
Remarks

The default value is 1.

The aspect ratio defines how many horizontal pixels are equal in size to a certain number of vertical pixels. Changing the aspect ratio of an image changes the image's appearance.

This function is useful when you are viewing a fax document, where the aspect ratio is incorrectly encoded. For example, low-resolution faxes scan in at 200 dpi horizontal pixels to vertical ones is 2:1. Increasing he vertical aspect lowers the ratio and improves the fax appearance. The PCX file format does not provide aspect size information, so when the image displays, it appears squashed. By doubling the vertical aspect, the image displays correctly.

See Also

Reference

ImageXView Class
ImageXView Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback