PostnetSymbology Class
Represents a bar code symbology implementation for Postnet
.
public class PostnetSymbology : LinearBarCodeSymbology, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement BarCodeSymbology LinearBarCodeSymbology Object
Remarks
Postnet is used by the United States Postal Service to assist in directing mail.
This symbology can encode 5, 9, or 11 numbers (all plus a check digit) where the required 5 characters are the 5-digit zip code, the optional next 4 characters are the zip+4 code, and the optional last two digits represent the last two numbers of the numeric address number.
This symbology implementation auto-calculates and inserts a check character.
Constructors
PostnetSymbology()
Initializes an instance of the PostnetSymbology
class.
public PostnetSymbology()
Methods
OnValueChanged(String, String)
Occurs when the value of the Value property is changed.
protected override void OnValueChanged(string oldValue, string newValue)
Parameter | Type | Description |
---|---|---|
oldValue | String | The old value. |
newValue | String | The new value. |
ValidateValue(String)
Validates that the symbology can parse the specified value.
public override ValidationResult ValidateValue(string value)
Parameter | Type | Description |
---|---|---|
value | String | The value to validate. |
Returns
- ValidationResult:
A ValidationResult containing the result of the validation.
Inherited Members
- LinearBarCodeSymbology.BarDataProperty
- LinearBarCodeSymbology.BarHeightProperty
- LinearBarCodeSymbology.BarWidthRatioProperty
- LinearBarCodeSymbology.DisplayValueProperty
- LinearBarCodeSymbology.InstructionsProperty
- LinearBarCodeSymbology.MinBarHeightWidthRatioProperty
- LinearBarCodeSymbology.QuietZoneThicknessProperty
- LinearBarCodeSymbology.ValueDisplayStyleProperty
- LinearBarCodeSymbology.ValueIntrusionOffsetProperty
- LinearBarCodeSymbology.MeasureOverride(Size)
- LinearBarCodeSymbology.Render(DrawingContext, Point, Size)
- LinearBarCodeSymbology.BarData
- LinearBarCodeSymbology.BarHeight
- LinearBarCodeSymbology.BarWidthRatio
- LinearBarCodeSymbology.DisplayValue
- LinearBarCodeSymbology.Instructions
- LinearBarCodeSymbology.MinBarHeightWidthRatio
- LinearBarCodeSymbology.QuietZoneThickness
- LinearBarCodeSymbology.ValueDisplayStyle
- LinearBarCodeSymbology.ValueIntrusionOffset
- BarCodeSymbology.BackgroundProperty
- BarCodeSymbology.ForegroundProperty
- BarCodeSymbology.ValueProperty
- BarCodeSymbology.MeasureDesiredSize(Size)
- BarCodeSymbology.OnRender(DrawingContext)
- BarCodeSymbology.ToBitmap(Double, Double)
- BarCodeSymbology.Background
- BarCodeSymbology.DisplayName
- BarCodeSymbology.Foreground
- BarCodeSymbology.Value
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()