Accusoft.ImagXpress12.Net
Resolution Constructor(SizeF,GraphicsUnit,Int32)
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > Resolution Class > Resolution Constructor : Resolution Constructor(SizeF,GraphicsUnit,Int32)




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.

Glossary Item Box

Initializes a new instance of the Resolution class from the specified width, height, units and precision.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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

©2013. Accusoft Corporation. All Rights Reserved.