Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSSizeMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Creates an empty size.
Example:
dim p as new NSSizeMBS
MsgBox p // shows {0 ,0}

See also:

Feedback, Comments & Corrections

NSSizeMBS.Constructor(p as Ptr)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 17.1 Yes Yes Yes Yes No
Function: Creates a new instance using data at the pointer.
Notes: Make sure the pointer is valid and has the right data and size.

See also:

Feedback, Comments & Corrections

NSSizeMBS.Constructor(s as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Creates a new NSSize object using the given string.
Example:
dim p as new NSSizeMBS("{1,2}")
MsgBox p // shows {1, 2}

See also:

Feedback, Comments & Corrections

NSSizeMBS.Constructor(Width as Double, Height as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Creates a new NSSize object using the given values.

See also:

Feedback, Comments & Corrections

NSSizeMBS.Equal(other as NSSizeMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Whether two sizes are equal.

Feedback, Comments & Corrections

NSSizeMBS.Operator_Convert as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Converts the object to string.
Example:
dim p as new NSSizeMBS(1,2)
MsgBox p // shows {1, 2}

Feedback, Comments & Corrections

NSSizeMBS.String as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the string representation of this size object.
Example:
dim p as new NSSizeMBS(1,2)
MsgBox p.String // shows {1, 2}

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Main Plugin.




Links
MBS Xojo PDF Plugins