Aspose::Font::TextUtils::IFontMorseDecoder::Decode méthode

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

Déchiffre le code Morse et dessine le résultat au format 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
ParamètreTypeDescription
morseTextSystem::StringTexte encodé en code Morse, par ex. texte comme “… — …"(SOS)
fontSystem::SharedPtr<IFont>Font pour prendre les glyphes liés au texte décodé depuis
fontSizedoublePolice taille
lineSpacingTypeRenderers::RenderingUtils::LineSpacingTypeType d’espacement de ligne. Nombre de pixels ou pourcentage de la hauteur de la police
lineSpacingValueint32_tValeur de l’espacement de ligne
maxWidthint32_tLargeur maximale en pixels pour l’image
alphabetMorseAlphabetsAlphabet du code Morse
inputSeparatorchar16_tSymbole utilisé pour séparer les mots dans le texte encodé
outputSeparatorchar16_tSymbole utilisé pour séparer les mots dans le texte décodé

ReturnValue

Texte décodé au format PNG sous forme de flux d’octets

Voir aussi

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

Déchiffre le code Morse en glyphes de la police spécifiée.

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
ParamètreTypeDescription
morseTextSystem::StringTexte encodé en code Morse, par ex. texte comme “… — …"(SOS)
fontSystem::SharedPtr<IFont>Font pour prendre les glyphes liés au texte décodé depuis
alphabetMorseAlphabetsAlphabet du code Morse
inputSeparatorchar16_tSymbole utilisé pour séparer les mots dans le texte encodé
outputSeparatorchar16_tSymbole utilisé pour séparer les mots dans le texte décodé

ReturnValue

Glyphs (glyph identifiers) related to decoded text

Voir aussi