WangFormatter Class |
Namespace: Atalasoft.Annotate.Formatters
The WangFormatter type exposes the following members.
Name | Description | |
---|---|---|
WangFormatter | Creates a new instance of WangFormatter. | |
WangFormatter(PointF) | Creates a new instance of WangFormatter specifying the viewer resolution. |
Name | Description | |
---|---|---|
Binder | Gets or sets the SerializationBinder that performs type lookups during deserialization.
| |
Context | Gets or sets the StreamingContext used for serialization and deserialization. | |
Resolution | Gets or sets the document resolution used by the AnnotateViewer. | |
SurrogateSelector | Gets or sets the SurrogateSelector used by the current formatter. | |
UseWangBoldLevels |
Gets or sets a value indicating how the lfWeight property will be interpreted for a TextAnnotation.
Default value is false, to preserve backwards compatibility, an lfWeight of 400 or greater will indicate bold text.
Setting this to true will be consistent with the WANG specification, an lfWeight of 700 or greater will indicate bold text.
|
Name | Description | |
---|---|---|
Deserialize | Deserializes WANG data into a LayerData object. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDeserialize | Called when an annotation is being deserialized. | |
Serialize | Serializes annotations into WANG format. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteUnsupportedAnnotation | Called when an AnnotationData object being serialized does not implement the IWangCompatible interface. | |
WriteUnsupportedObject | Called when an unsupported object needs to be serialized. | |
WriteWangAnnotation | Called to write a WANG compatible annotation to the serialization stream. |
Name | Description | |
---|---|---|
DeserializeAnnotation | Raised when an annotation is being deserialized. |