System::Drawing::FontConverter クラス
FontConverter class
Font オブジェクトをあるデータ型から別のデータ型へ変換します。このクラスのオブジェクトは System::MakeObject() 関数を使用してのみ割り当てるべきです。スタック上や operator new を使用してインスタンスを作成しないでください。そうすると実行時エラーやアサーション違反が発生します。常にこのクラスを System::SmartPtr ポインタでラップし、そのポインタを関数の引数として渡してください。
class FontConverter : public System::ComponentModel::TypeConverter
メソッド
| メソッド | 説明 |
|---|---|
| ConvertFrom(const System::SharedPtr<ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) override | オブジェクトを変換します。 |
| ConvertFrom(const System::SharedPtr<System::Object>&) | オブジェクトを変換します。 |
| virtual ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&) | オブジェクトを変換します。 |
| ConvertFrom(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::String&) | 文字列をオブジェクトに変換します。 |
| ConvertTo(const System::SharedPtr<ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) override | オブジェクトを特定の型に変換します。 |
| ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) | オブジェクトを特定の型に変換します。 |
| virtual ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) | オブジェクトを特定の型に変換します。 |
参照
- Class TypeConverter
- Namespace System::Drawing
- Library Aspose.Page for C++