Méthode Aspose::Font::Renderers::RenderingUtils::DrawText

RenderingUtils::DrawText(System::SharedPtr<Font>, System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>>, double) method

Rendering text in BitMap. Return result in PNG-format as stream of bytes.

static System::SharedPtr<System::IO::Stream> Aspose::Font::Renderers::RenderingUtils::DrawText(System::SharedPtr<Font> font, System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>> glyphIds, double fontSize)
ParamètreTypeDescription
fontSystem::SharedPtr<Font>Police
glyphIdsSystem::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>>Texte représenté sous forme de tableau d’identifiants de glyphes
fontSizedoublePolice taille

ReturnValue

Image au format PNG sous forme de flux d’octets

Voir aussi

RenderingUtils::DrawText(System::SharedPtr<Font>, System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>>, double, RenderingUtils::LineSpacingType, int32_t, int32_t) method

Rendering text in BitMap. Return result in PNG-format as stream of bytes.

static System::SharedPtr<System::IO::Stream> Aspose::Font::Renderers::RenderingUtils::DrawText(System::SharedPtr<Font> font, System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>> glyphIds, double fontSize, RenderingUtils::LineSpacingType lineSpacingType, int32_t lineSpacingValue, int32_t maxWidth)
ParamètreTypeDescription
fontSystem::SharedPtr<Font>Police
glyphIdsSystem::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>>Texte représenté sous forme de tableau d’identifiants de glyphes
fontSizedoublePolice taille
lineSpacingTypeRenderingUtils::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

ReturnValue

Image au format PNG sous forme de flux d’octets

Voir aussi

RenderingUtils::DrawText(System::SharedPtr<Font>, System::String, double) method

Rendering text in BitMap. Return result in PNG-format as stream of bytes.

static System::SharedPtr<System::IO::Stream> Aspose::Font::Renderers::RenderingUtils::DrawText(System::SharedPtr<Font> font, System::String text, double fontSize)
ParamètreTypeDescription
fontSystem::SharedPtr<Font>Police
texteSystem::StringTexte
fontSizedoublePolice taille

ReturnValue

Image au format PNG sous forme de flux d’octets

Voir aussi

RenderingUtils::DrawText(System::SharedPtr<Font>, System::String, double, RenderingUtils::LineSpacingType, int32_t, int32_t) method

Rendering text in BitMap. Return result in PNG-format as stream of bytes.

static System::SharedPtr<System::IO::Stream> Aspose::Font::Renderers::RenderingUtils::DrawText(System::SharedPtr<Font> font, System::String text, double fontSize, RenderingUtils::LineSpacingType lineSpacingType, int32_t lineSpacingValue, int32_t maxWidth)
ParamètreTypeDescription
fontSystem::SharedPtr<Font>Police
texteSystem::StringTexte
fontSizedoublePolice taille
lineSpacingTypeRenderingUtils::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

ReturnValue

Image au format PNG sous forme de flux d’octets

Voir aussi