Accusoft.ImagXpressSdk Namespace > ImageXView Class : AspectY Property |
'Declaration <BrowsableAttribute(False)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> Public Property AspectY As Integer
'Usage Dim instance As ImageXView Dim value As Integer instance.AspectY = value value = instance.AspectY
[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public int AspectY {get; set;}
[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public: __property int get_AspectY(); public: __property void set_AspectY( int value );
[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public: property int AspectY { int get(); void set ( int value); }
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.