Aspose::Font::Renderers::RenderingUtils::DrawText method

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)
ParameterTypBeschreibung
fontSystem::SharedPtr<Font>Font
glyphIdsSystem::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>>Text dargestellt als Array von Glyph-Identifikatoren
fontSizedoubleFont Größe

ReturnValue

Bild im PNG-Format als Bytestrom

Siehe auch

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)
ParameterTypBeschreibung
fontSystem::SharedPtr<Font>Font
glyphIdsSystem::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>>Text dargestellt als Array von Glyph-Identifikatoren
fontSizedoubleFont Größe
lineSpacingTypeRenderingUtils::LineSpacingTypeTyp des Zeilenabstands. Anzahl der Pixel oder Prozentsatz der Schriftgröße
lineSpacingValueint32_tWert des Zeilenabstands
maxWidthint32_tMaximale Breite in Pixeln für das Bild

ReturnValue

Bild im PNG-Format als Bytestrom

Siehe auch

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)
ParameterTypBeschreibung
fontSystem::SharedPtr<Font>Font
TextSystem::StringText
fontSizedoubleFont Größe

ReturnValue

Bild im PNG-Format als Bytestrom

Siehe auch

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)
ParameterTypBeschreibung
fontSystem::SharedPtr<Font>Font
TextSystem::StringText
fontSizedoubleFont Größe
lineSpacingTypeRenderingUtils::LineSpacingTypeTyp des Zeilenabstands. Anzahl der Pixel oder Prozentsatz der Schriftgröße
lineSpacingValueint32_tWert des Zeilenabstands
maxWidthint32_tMaximale Breite in Pixeln für das Bild

ReturnValue

Bild im PNG-Format als Bytestrom

Siehe auch