Metodo 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)
ParametroTipoDescrizione
fontSystem::SharedPtr<Font>Font
glyphIdsSystem::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>>Testo rappresentato come array di identificatori di glifi
fontSizedoubleFont dimensione

ReturnValue

Immagine in formato PNG come flusso di byte

Vedi anche

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)
ParametroTipoDescrizione
fontSystem::SharedPtr<Font>Font
glyphIdsSystem::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>>Testo rappresentato come array di identificatori di glifi
fontSizedoubleFont dimensione
lineSpacingTypeRenderingUtils::LineSpacingTypeTipo di interlinea. Numero di pixel o percentuale dell’altezza del font
lineSpacingValueint32_tValore dell’interlinea
maxWidthint32_tLarghezza massima in pixel per l’immagine

ReturnValue

Immagine in formato PNG come flusso di byte

Vedi anche

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)
ParametroTipoDescrizione
fontSystem::SharedPtr<Font>Font
testoSystem::StringText
fontSizedoubleFont dimensione

ReturnValue

Immagine in formato PNG come flusso di byte

Vedi anche

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)
ParametroTipoDescrizione
fontSystem::SharedPtr<Font>Font
testoSystem::StringText
fontSizedoubleFont dimensione
lineSpacingTypeRenderingUtils::LineSpacingTypeTipo di interlinea. Numero di pixel o percentuale dell’altezza del font
lineSpacingValueint32_tValore dell’interlinea
maxWidthint32_tLarghezza massima in pixel per l’immagine

ReturnValue

Immagine in formato PNG come flusso di byte

Vedi anche