Visual Basic (Declaration) | |
---|---|
Public Property XScalarNumerator As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int XScalarNumerator {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_XScalarNumerator(); public: __property void set_XScalarNumerator( int value ); |
Return Value
The numerator for the X scaling factor.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:
RasterImage.AddGdiPlusRegionToRegion AddRectangleToRegion AddRectangleToRegion RasterImage.AddRoundRectangleToRegion RasterImage.AddPolygonToRegion(RasterRegionXForm,Point[],FillMode,RasterRegionCombineMode) RasterImage.AddCurveToRegion(RasterRegionXForm,RasterCurve,RasterRegionCombineMode) AddBeziersToRegion AddDataToRegion
For more information, refer to Translating Coordinates for a Region.
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