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;} |
Property 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 Leadtools.Drawing.RasterImagePainter.PaintRegion(Leadtools.RasterImage,System.IntPtr,Leadtools.LeadRect,Leadtools.LeadRect,Leadtools.LeadRect,Leadtools.LeadRect,Leadtools.Drawing.RasterPaintProperties) and GetRegionBounds.
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:
- AddRectangleToRegion
- AddRectangleToRegion
- RasterImage.AddRoundRectangleToRegion
- RasterImage.AddPolygonToRegion
- RasterImage.AddCurveToRegion
- AddBeziersToRegion(RasterRegionXForm,LeadPoint[],LeadFillMode,RasterRegionCombineMode)
For more information, refer to Translating Coordinates for a Region.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7