Aspose::Font::TextUtils::IFontMorseDecoder::Decode metodo

IFontMorseDecoder::Decode(System::String, System::SharedPtr<IFont>, double, Renderers::RenderingUtils::LineSpacingType, int32_t, int32_t, MorseAlphabets, char16_t, char16_t) method

Decifra il codice Morse e disegna il risultato in formato PNG.

virtual System::SharedPtr<System::IO::Stream> Aspose::Font::TextUtils::IFontMorseDecoder::Decode(System::String morseText, System::SharedPtr<IFont> font, double fontSize, Renderers::RenderingUtils::LineSpacingType lineSpacingType, int32_t lineSpacingValue, int32_t maxWidth, MorseAlphabets alphabet=Aspose::Font::TextUtils::MorseAlphabets::Latin, char16_t inputSeparator=u' ', char16_t outputSeparator=u'/')=0
ParametroTipoDescrizione
morseTextSystem::StringTesto codificato in codice Morse, ad es. testo come “… — …” (SOS)
fontSystem::SharedPtr<IFont>Font per prendere i glifi relativi al testo decodificato da
fontSizedoubleFont dimensione
lineSpacingTypeRenderers::RenderingUtils::LineSpacingTypeTipo di interlinea. Numero di pixel o percentuale dell’altezza del font
lineSpacingValueint32_tValore dell’interlinea
maxWidthint32_tLarghezza massima in pixel per l’immagine
alfabetoMorseAlphabetsAlfabeto del codice Morse
inputSeparatorchar16_tSimbolo usato per separare le parole nel testo codificato
outputSeparatorchar16_tSimbolo usato per separare le parole nel testo decodificato

ReturnValue

Testo decodificato in formato PNG come flusso di byte

Vedi anche

IFontMorseDecoder::Decode(System::String, System::SharedPtr<IFont>, MorseAlphabets, char16_t, char16_t) method

Decifra il codice Morse in glifi del font specificato.

virtual System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>> Aspose::Font::TextUtils::IFontMorseDecoder::Decode(System::String morseText, System::SharedPtr<IFont> font, MorseAlphabets alphabet=Aspose::Font::TextUtils::MorseAlphabets::Latin, char16_t inputSeparator=u' ', char16_t outputSeparator=u'/')=0
ParametroTipoDescrizione
morseTextSystem::StringTesto codificato in codice Morse, ad es. testo come “… — …” (SOS)
fontSystem::SharedPtr<IFont>Font per prendere i glifi relativi al testo decodificato da
alfabetoMorseAlphabetsAlfabeto del codice Morse
inputSeparatorchar16_tSimbolo usato per separare le parole nel testo codificato
outputSeparatorchar16_tSimbolo usato per separare le parole nel testo decodificato

ReturnValue

Glyphs (glyph identifiers) related to decoded text

Vedi anche