Aspose::Font::TextUtils::IFontMorseDecoder::Decode method

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

Deciphers Morse code and draws result in PNG-format.

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
ParameterTypeDescription
morseTextSystem::StringText encoded by Morse code, ie text like “… — …"(SOS)
fontSystem::SharedPtr<IFont>Font to take glyphs related to decoded text from
fontSizedoubleFont size
lineSpacingTypeRenderers::RenderingUtils::LineSpacingTypeType of line spacing. Number of pixels or percent of font height
lineSpacingValueint32_tValue of line spacing
maxWidthint32_tMax width in pixels for image
alphabetMorseAlphabetsAlphabet of Morse code
inputSeparatorchar16_tSymbol used to separate words in encoded text
outputSeparatorchar16_tSymbol used to separate words in decoded text

ReturnValue

Decoded text in PNG-format as stream of bytes

See Also

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

Deciphers Morse code into glyphs of the specified font.

virtual System::ArrayPtr<System::SharedPtr<Aspose::Font::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
ParameterTypeDescription
morseTextSystem::StringText encoded by Morse code, ie text like “… — …"(SOS)
fontSystem::SharedPtr<IFont>Font to take glyphs related to decoded text from
alphabetMorseAlphabetsAlphabet of Morse code
inputSeparatorchar16_tSymbol used to separate words in encoded text
outputSeparatorchar16_tSymbol used to separate words in decoded text

ReturnValue

Glyphs (glyph identifiers) related to decoded text

See Also