Aspose::Font::Renderers::RenderingUtils::DrawText method
Inhalt
[
Ausblenden
]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)
| Parameter | Typ | Beschreibung |
|---|---|---|
| font | System::SharedPtr<Font> | Font |
| glyphIds | System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>> | Text dargestellt als Array von Glyph-Identifikatoren |
| fontSize | double | Font Größe |
ReturnValue
Bild im PNG-Format als Bytestrom
Siehe auch
- Typedef SharedPtr
- Class Stream
- Class Font
- Typedef ArrayPtr
- Class GlyphId
- Class RenderingUtils
- Namespace Aspose::Font::Renderers
- Library Aspose.Font for C++
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)
| Parameter | Typ | Beschreibung |
|---|---|---|
| font | System::SharedPtr<Font> | Font |
| glyphIds | System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>> | Text dargestellt als Array von Glyph-Identifikatoren |
| fontSize | double | Font Größe |
| lineSpacingType | RenderingUtils::LineSpacingType | Typ des Zeilenabstands. Anzahl der Pixel oder Prozentsatz der Schriftgröße |
| lineSpacingValue | int32_t | Wert des Zeilenabstands |
| maxWidth | int32_t | Maximale Breite in Pixeln für das Bild |
ReturnValue
Bild im PNG-Format als Bytestrom
Siehe auch
- Typedef SharedPtr
- Class Stream
- Class Font
- Typedef ArrayPtr
- Class GlyphId
- Enum LineSpacingType
- Class RenderingUtils
- Namespace Aspose::Font::Renderers
- Library Aspose.Font for C++
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)
| Parameter | Typ | Beschreibung |
|---|---|---|
| font | System::SharedPtr<Font> | Font |
| Text | System::String | Text |
| fontSize | double | Font Größe |
ReturnValue
Bild im PNG-Format als Bytestrom
Siehe auch
- Typedef SharedPtr
- Class Stream
- Class Font
- Class String
- Class RenderingUtils
- Namespace Aspose::Font::Renderers
- Library Aspose.Font for C++
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)
| Parameter | Typ | Beschreibung |
|---|---|---|
| font | System::SharedPtr<Font> | Font |
| Text | System::String | Text |
| fontSize | double | Font Größe |
| lineSpacingType | RenderingUtils::LineSpacingType | Typ des Zeilenabstands. Anzahl der Pixel oder Prozentsatz der Schriftgröße |
| lineSpacingValue | int32_t | Wert des Zeilenabstands |
| maxWidth | int32_t | Maximale Breite in Pixeln für das Bild |
ReturnValue
Bild im PNG-Format als Bytestrom
Siehe auch
- Typedef SharedPtr
- Class Stream
- Class Font
- Class String
- Enum LineSpacingType
- Class RenderingUtils
- Namespace Aspose::Font::Renderers
- Library Aspose.Font for C++