Accusoft.ImagXpress13.Net
AspectX Property




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

Property Value

An integer value which represents the horizontal aspect ratio of the image.
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 the image will change the appearance.

This function is useful when you are viewing a fax document in which the aspect ratio was incorrectly encoded. For example low-resolution fax images are scanned in at 200 horizontal and 100 dpi vertical. But the PCX file format does not provide aspect size information, so when the image is displayed, it appears squashed. By doubling the horizontal aspect, the image displays correctly.

Setting these properties defines the shape of each pixel in the display. This changes the aspect ratio of the displayed image, but has no effect on the image itself.

See Also

Reference

ImageXView Class
ImageXView Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback