Skip to main content

Licensing

Version: 1.0

Size Structure

Stores the height and width.

public struct Size : ValueType
Public Structure Size
Inherits ValueType

Inheritance: Object → ValueType → Size

Licensing​

This class is a DynamicBarcode Creator feature. The following license is required for non-evaluation usage:

  • DynamicBarcode Creator for .NET

Constructors​

Size(Single, Single)​

Initializes a new instance of Size from the specified height and width.

public Size(float width, float height)
Public Sub New (width As Single, height As Single)

Parameters​

Width in float value.

Height in float value.

Properties​

Height​

Get or sets the height.

public float Height { get; set; }
Public Property Height As Single

Property Value​

Single

Width​

Gets or sets the width.

public float Width { get; set; }
Public Property Width As Single

Property Value​

Single

Methods​

Equals(Object)​

Indicates whether this instance and a specified object are equal. (Inherited from ValueType)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

Another object to compare to.

Returns​

true if and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()​

Returns the hash code for this instance. (Inherited from ValueType)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A 32-bit signed integer that is the hash code for this instance.

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

ToString()​

Returns the fully qualified type name of this instance. (Inherited from ValueType)

public string ToString()
Function ToString() As String

Returns​

A String containing a fully qualified type name.

See Also​

ceTe.DynamicBarcode.Creator