DrawUtilScaledDown(Size, Int32) Method
Scales a size-object by dividing by a factor.
Namespace: Karamba.UtilitiesAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public static Size ScaledDown(
this Size p,
int f
)
<ExtensionAttribute>
Public Shared Function ScaledDown (
p As Size,
f As Integer
) As Size
public:
[ExtensionAttribute]
static Size ScaledDown(
Size p,
int f
)
[<ExtensionAttribute>]
static member ScaledDown :
p : Size *
f : int -> Size
- p Size
- Point to scale.
- f Int32
- Factor for dividing the size-object coordinates.
SizeScaled size-object.In Visual Basic and C#, you can call this method as an instance method on any object of type
Size. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).