Accusoft.ImagXpress13.Net
Resolution Constructor(Single,Single,GraphicsUnit,Int32)




A float value which represents the width of the current image.
A float value which represents the height of the current image.
A System.Drawing.GraphicsUnit enumeration value which represents the unit of measure of the current image.
The level of precision of the Dimensions returned. This parameter must be a value from MinimumPrecision to MaximumPrecision. Setting the precision is really a request for the precision level to be at a certain level. Because of the way floating-point numbers are stored in computers, ImagXpress can not guarantee that the precision is at a certain level. If the application needs 100% accuracy, then the application should set this value to MaximumPrecision and handle any truncation or rounding itself.
Initializes a new instance of the Resolution class from the specified width, height, units and precision.
Syntax
'Declaration
 
Public Function New( _
   ByVal width As Single, _
   ByVal height As Single, _
   ByVal units As GraphicsUnit, _
   ByVal precision As Integer _
)
'Usage
 
Dim width As Single
Dim height As Single
Dim units As GraphicsUnit
Dim precision As Integer
 
Dim instance As New Resolution(width, height, units, precision)
public Resolution( 
   float width,
   float height,
   GraphicsUnit units,
   int precision
)
public: Resolution( 
   float width,
   float height,
   GraphicsUnit units,
   int precision
)
public:
Resolution( 
   float width,
   float height,
   GraphicsUnit units,
   int precision
)

Parameters

width
A float value which represents the width of the current image.
height
A float value which represents the height of the current image.
units
A System.Drawing.GraphicsUnit enumeration value which represents the unit of measure of the current image.
precision
The level of precision of the Dimensions returned. This parameter must be a value from MinimumPrecision to MaximumPrecision. Setting the precision is really a request for the precision level to be at a certain level. Because of the way floating-point numbers are stored in computers, ImagXpress can not guarantee that the precision is at a certain level. If the application needs 100% accuracy, then the application should set this value to MaximumPrecision and handle any truncation or rounding itself.
See Also

Reference

Resolution Class
Resolution Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback