PowerToys/src/settings-ui/Settings.UI.Library/SndPowerOcrSettings.cs
Jaime Bernardo 086eb58d80
[TextExtractor]Rename PowerOCR to Text Extractor (#20178)
* [Image To Text]Rename PowerOCR to Image To Text

* fix spellchecker

* Rename to Text Extractor

* Missing mention

* Another missing mention
2022-08-31 18:29:20 +01:00

30 lines
735 B
C#

// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Microsoft.PowerToys.Settings.UI.Library
{
public class SndPowerOcrSettings
{
[JsonPropertyName("TextExtractor")]
public PowerOcrSettings Settings { get; set; }
public SndPowerOcrSettings()
{
}
public SndPowerOcrSettings(PowerOcrSettings settings)
{
Settings = settings;
}
public string ToJsonString()
{
return JsonSerializer.Serialize(this);
}
}
}