Class LayoutBoundaryMarginParameter
Namespace: Scripting
Syntax
public class LayoutBoundaryMarginParameter
Constructors
LayoutBoundaryMarginParameter()
Creates an instance of the LayoutBoundaryMarginParameter class.
Declaration
public LayoutBoundaryMarginParameter()
LayoutBoundaryMarginParameter(MarginType, Double)
Initializes a new instance of the LayoutBoundaryMarginParameter class.
Declaration
public LayoutBoundaryMarginParameter(MarginType marginType, double customValue)
Parameters
Type | Name | Description |
---|---|---|
MarginType | marginType | Type of the margin. |
System.Double | customValue | The custom value. |
Properties
CustomValue
Declaration
public double CustomValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MarginType
Declaration
public MarginType MarginType { get; set; }
Property Value
Type | Description |
---|---|
MarginType |
Methods
Equals(LayoutBoundaryMarginParameter)
Tests a LayoutBoundaryMarginParameter against this current LayoutBoundaryMarginParameter for equality.
Declaration
public bool Equals(LayoutBoundaryMarginParameter val)
Parameters
Type | Name | Description |
---|---|---|
LayoutBoundaryMarginParameter | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current LayoutBoundaryMarginParameter for equality.
Declaration
public override bool Equals(object toCompare)
Parameters
Type | Name | Description |
---|---|---|
System.Object | toCompare |
Returns
Type | Description |
---|---|
System.Boolean | True if object is equal otherwise false is returned. |
Overrides
GetHashCode()
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this object. |
Overrides
Operators
Equality(LayoutBoundaryMarginParameter, LayoutBoundaryMarginParameter)
Tests a LayoutBoundaryMarginParameter against this current LayoutBoundaryMarginParameter for equality.
Declaration
public static bool operator ==(LayoutBoundaryMarginParameter a, LayoutBoundaryMarginParameter b)
Parameters
Type | Name | Description |
---|---|---|
LayoutBoundaryMarginParameter | a | |
LayoutBoundaryMarginParameter | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(LayoutBoundaryMarginParameter, LayoutBoundaryMarginParameter)
Tests a LayoutBoundaryMarginParameter against this current LayoutBoundaryMarginParameter for inequality.
Declaration
public static bool operator !=(LayoutBoundaryMarginParameter a, LayoutBoundaryMarginParameter b)
Parameters
Type | Name | Description |
---|---|---|
LayoutBoundaryMarginParameter | a | |
LayoutBoundaryMarginParameter | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |