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