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




A System.Drawing.SizeF structure which evauluates to the region associated with 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 dimensions As SizeF, _
   ByVal units As GraphicsUnit, _
   ByVal precision As Integer _
)
'Usage
 
Dim dimensions As SizeF
Dim units As GraphicsUnit
Dim precision As Integer
 
Dim instance As New Resolution(dimensions, units, precision)
public Resolution( 
   SizeF dimensions,
   GraphicsUnit units,
   int precision
)
public: Resolution( 
   SizeF dimensions,
   GraphicsUnit units,
   int precision
)
public:
Resolution( 
   SizeF dimensions,
   GraphicsUnit units,
   int precision
)

Parameters

dimensions
A System.Drawing.SizeF structure which evauluates to the region associated with 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