Show / Hide Table of Contents

Class FrameThickness

Represents the thickness for the four sides of a frame.

Inheritance
System.Object
FrameThickness
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public class FrameThickness : INotifyPropertyChanged

Constructors

FrameThickness()

Initializes a new instance of the FrameThickness class.

Declaration
public FrameThickness()

FrameThickness(Double)

Initializes a new instance of the FrameThickness class with a specified uniform length on each side of the frame.

Declaration
public FrameThickness(double uniformLength)
Parameters
Type Name Description
System.Double uniformLength

The uniform length applied to all four sides of the frame.

FrameThickness(Double, Double, Double, Double)

Initializes a new instance of the FrameThickness class with the specified length for each side of the frame.

Declaration
public FrameThickness(double left, double top, double right, double bottom)
Parameters
Type Name Description
System.Double left

The thickness for the left side of the frame.

System.Double top

The thickness for the upper side of the frame.

System.Double right

The thickness for the right side of the frame.

System.Double bottom

The thickness for the lower side of the frame.

Properties

Bottom

Gets or sets the width of the lower side of the frame. Default value is 0 (zero)

Declaration
public double Bottom { get; set; }
Property Value
Type Description
System.Double

Left

Gets or sets the width of the left side of the frame. Default value is 0 (zero)

Declaration
public double Left { get; set; }
Property Value
Type Description
System.Double

Right

Gets or sets the width of the right side of the frame. Default value is 0 (zero)

Declaration
public double Right { get; set; }
Property Value
Type Description
System.Double

Top

Gets or sets the width of the upper side of the frame. Default value is 0 (zero)

Declaration
public double Top { get; set; }
Property Value
Type Description
System.Double

Methods

Equals(FrameThickness)

Declaration
public bool Equals(FrameThickness frameThickness)
Parameters
Type Name Description
FrameThickness frameThickness
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

OnPropertyChanged(String)

Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
Type Name Description
System.String propertyName

ToString()

Converts the FrameThickness object to a string representation, using the current System.Globalization.CultureInfo.

Declaration
public override string ToString()
Returns
Type Description
System.String

The string representation of the FrameThickness object in the current culture.

ToString(CultureInfo)

Converts the FrameThickness object to a string representation, using the specified System.Globalization.CultureInfo.

Declaration
public string ToString(CultureInfo culture)
Parameters
Type Name Description
CultureInfo culture

A System.Globalization.CultureInfo that contains the culture to represent the FrameThickness.

Returns
Type Description
System.String

The string representation of the FrameThickness object in the specified culture.

Events

PropertyChanged

Occurs when a property value changes.

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
PropertyChangedEventHandler

Operators

Equality(FrameThickness, FrameThickness)

Declaration
public static bool operator ==(FrameThickness ft1, FrameThickness ft2)
Parameters
Type Name Description
FrameThickness ft1
FrameThickness ft2
Returns
Type Description
System.Boolean

Inequality(FrameThickness, FrameThickness)

Declaration
public static bool operator !=(FrameThickness ft1, FrameThickness ft2)
Parameters
Type Name Description
FrameThickness ft1
FrameThickness ft2
Returns
Type Description
System.Boolean
Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com