Class ThermalLabelFont
Represents an embedded font of a thermal label object.
Inheritance
System.Object
ThermalLabelFont
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()
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public class ThermalLabelFont : IXmlTemplate, INotifyPropertyChanged
Constructors
ThermalLabelFont()
Initializes a new instance of the ThermalLabelFont class.
Declaration
public ThermalLabelFont()
ThermalLabelFont(String, String)
Initializes a new instance of the ThermalLabelFont class with the specified name and data.
Declaration
public ThermalLabelFont(string name, string data)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the embedded font. |
System.String | data | The base64 string representing the font binary content. |
Properties
Data
Gets or sets the base64 string representing the font binary content.
Declaration
public string Data { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the font name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(ThermalLabelFont)
Declaration
public bool Equals(ThermalLabelFont font)
Parameters
Type | Name | Description |
---|---|---|
ThermalLabelFont | font |
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(ThermalLabelFont, ThermalLabelFont)
Declaration
public static bool operator ==(ThermalLabelFont f1, ThermalLabelFont f2)
Parameters
Type | Name | Description |
---|---|---|
ThermalLabelFont | f1 | |
ThermalLabelFont | f2 |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(ThermalLabelFont, ThermalLabelFont)
Declaration
public static bool operator !=(ThermalLabelFont f1, ThermalLabelFont f2)
Parameters
Type | Name | Description |
---|---|---|
ThermalLabelFont | f1 | |
ThermalLabelFont | f2 |
Returns
Type | Description |
---|---|
System.Boolean |