Gets or sets the scaling factor.
Namespace: SharpAssembler.x86.OperandsAssembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public int Scale { get; set; } |
| Visual Basic |
|---|
Public Property Scale As Integer
Get
Set |
| Visual C++ |
|---|
public:
property int Scale {
int get ();
void set (int value);
} |
Field Value
The scaling factor, which must be zero, or a positive power of two less than or equal to 8.
Exceptions
Contracts
Get
| Ensures |
|---|
MathExt.IsPowerOfTwo(Contract.Result<int>()) |
Contract.Result<int>() <= 8 |
Set
| Requires |
|---|
MathExt.IsPowerOfTwo(value) |
|
See Also