Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
XScalarDenominator Property
See Also 
Leadtools Namespace > RasterRegionXForm Class : XScalarDenominator Property




The denominator for the X scaling factor.

Syntax

Visual Basic (Declaration) 
Public Property XScalarDenominator As Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterRegionXForm
Dim value As Integer
 
instance.XScalarDenominator = value
 
value = instance.XScalarDenominator
C# 
public int XScalarDenominator {get; set;}
Managed Extensions for C++ 
public: __property int get_XScalarDenominator();
public: __property void set_XScalarDenominator( 
   int value
);
C++/CLI 
public:
property int XScalarDenominator {
   int get();
   void set (int value);
}

Return Value

The denominator for the X scaling factor.

Example

For an example, refer to RegionToGdiPlusRegion.

Remarks

When translating information from the image, you can use the width of the painting method source rectangle for this value. (By default, it is the image width.)

When translating information to the image, you can use the width of the painting method destination rectangle for this value.

Refer to the XScalarNumerator property to see which methods translate which direction.

For more information, refer to Translating Coordinates for a Region.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also