Class Size
The rectangle properties are height, width, and so on.
Inheritance
System.Object
Size
Namespace: BoldSign.Model
Assembly: BoldSign.Api.dll
Syntax
public class Size : object
Constructors
| Improve this Doc View SourceSize(Single, Single)
Initializes a new instance of the Size class.
Declaration
public Size(float width = 35F, float height = 16F)
Parameters
Type | Name | Description |
---|---|---|
System.Single | width | Gets or sets the width. (default to 35F). |
System.Single | height | Gets or sets the height. (default to 16F). |
Properties
| Improve this Doc View SourceHeight
Gets or sets the height of rectangle.
Declaration
public float Height { get; set; }
Property Value
Type | Description |
---|---|
System.Single | Gets or sets the height. |
Width
Gets or sets the width of rectangle.
Declaration
public float Width { get; set; }
Property Value
Type | Description |
---|---|
System.Single | Gets or sets the width. |
Methods
| Improve this Doc View SourceToJson()
Returns the JSON string presentation of the object.
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object. |