Class PTMeasurementScale
Inheritance
System.Object
PTMeasurementScale
Implements
Foundation.INSCoding
ObjCRuntime.INativeObject
System.IDisposable
Assembly: Tools.dll
public class PTMeasurementScale : NSObject
Constructors
Declaration
public PTMeasurementScale()
Declaration
public PTMeasurementScale(NSCoder coder)
Parameters
Type |
Name |
Description |
Foundation.NSCoder |
coder |
|
Declaration
protected PTMeasurementScale(NSObjectFlag t)
Parameters
Type |
Name |
Description |
Foundation.NSObjectFlag |
t |
|
Declaration
protected PTMeasurementScale(NativeHandle handle)
Parameters
Type |
Name |
Description |
ObjCRuntime.NativeHandle |
handle |
|
Declaration
public PTMeasurementScale(NFloat baseValue, string baseUnit, NFloat translateValue, string translateUnit, int precision, int fractionPrecision, bool fractionDisplayEnabled)
Parameters
Type |
Name |
Description |
System.Runtime.InteropServices.NFloat |
baseValue |
|
System.String |
baseUnit |
|
System.Runtime.InteropServices.NFloat |
translateValue |
|
System.String |
translateUnit |
|
System.Int32 |
precision |
|
System.Int32 |
fractionPrecision |
|
System.Boolean |
fractionDisplayEnabled |
|
Properties
Declaration
public virtual string BaseUnit { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public virtual NFloat BaseValue { get; set; }
Property Value
Type |
Description |
System.Runtime.InteropServices.NFloat |
|
Declaration
public override NativeHandle ClassHandle { get; }
Property Value
Type |
Description |
ObjCRuntime.NativeHandle |
|
Declaration
public virtual bool FractionDisplayEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual int FractionPrecision { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public virtual int Precision { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public virtual string TranslateUnit { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public virtual NFloat TranslateValue { get; set; }
Property Value
Type |
Description |
System.Runtime.InteropServices.NFloat |
|
Methods
Declaration
public virtual void EnableFractionDisplay(bool fractionDisplayEnabled)
Parameters
Type |
Name |
Description |
System.Boolean |
fractionDisplayEnabled |
|
Declaration
public virtual void EncodeTo(NSCoder encoder)
Parameters
Type |
Name |
Description |
Foundation.NSCoder |
encoder |
|
Implements
Foundation.INSCoding
ObjCRuntime.INativeObject
System.IDisposable