Class ThermalLabelPage
Represents a page of a thermal label object.
Inheritance
System.Object
ThermalLabelPage
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: cs.temp.dll.dll
Syntax
public class ThermalLabelPage : IXmlTemplate, INotifyPropertyChanged
Constructors
ThermalLabelPage()
Declaration
public ThermalLabelPage()
ThermalLabelPage(Double, Double, Double, Double)
Initializes a new instance of the ThermalLabelPage class with the specified location and size.
Declaration
public ThermalLabelPage(double x, double y, double width, double height)
Parameters
Type |
Name |
Description |
System.Double |
x |
The x-coordinate of the upper-left corner of the page relative to the upper-left corner of its container.
|
System.Double |
y |
The y-coordinate of the upper-left corner of the page relative to the upper-left corner of its container.
|
System.Double |
width |
The width of the page.
|
System.Double |
height |
The height of the page.
|
Properties
Height
Gets or sets the height of the page. Default value is 0 (zero)
Declaration
public double Height { get; set; }
Property Value
Type |
Description |
System.Double |
|
Width
Gets or sets the width of the page. Default value is 0 (zero)
Declaration
public double Width { get; set; }
Property Value
Type |
Description |
System.Double |
|
X
Gets or sets the x-coordinate of the upper-left corner of the page relative to the upper-left corner of its container. Default value is 0 (zero)
Declaration
public double X { get; set; }
Property Value
Type |
Description |
System.Double |
|
Y
Gets or sets the y-coordinate of the upper-left corner of the page relative to the upper-left corner of its container. Default value is 0 (zero)
Declaration
public double Y { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
Equals(ThermalLabelPage)
Declaration
public bool Equals(ThermalLabelPage page)
Parameters
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 |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
OnPropertyChanged(String)
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
PropertyChangedEventHandler |
|
Operators
Equality(ThermalLabelPage, ThermalLabelPage)
Declaration
public static bool operator ==(ThermalLabelPage p1, ThermalLabelPage p2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(ThermalLabelPage, ThermalLabelPage)
Declaration
public static bool operator !=(ThermalLabelPage p1, ThermalLabelPage p2)
Parameters
Returns
Type |
Description |
System.Boolean |
|