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



The numerator for the X scaling factor.

Syntax

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

Return Value

The numerator 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 destination rectangle for this value.

Methods that translate in this direction are PaintRegion, GetRegionBounds, and RegionToGdiPlusRegion.

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

Methods that translate in this direction include:

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

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also