다음을 통해 공유


EdgePointConverter Class

Definition

TypeConverter for EdgePoint instances, so it can be serialized in human read-able form. The converted EdgePoint will have syntax "(x : y : flag)", where the flag can be omitted for Normal. For backward compatibility, the converter also supports converting from a string produced by binary serializer, but it will never convert an EdgePoint to binary form.

public ref class EdgePointConverter sealed : System::ComponentModel::TypeConverter
public sealed class EdgePointConverter : System.ComponentModel.TypeConverter
type EdgePointConverter = class
    inherit TypeConverter
Public NotInheritable Class EdgePointConverter
Inherits TypeConverter
Inheritance
EdgePointConverter

Constructors

EdgePointConverter()

Methods

CanConvertFrom(ITypeDescriptorContext, Type)

Only supports converting from string.

CanConvertTo(ITypeDescriptorContext, Type)

Only supports converting to string.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts from a string.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts to a string.

Applies to