Méthode Aspose::Font::Renderers::RenderingUtils::DrawText
Contenu
[
Cacher
]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ètre | Type | Description |
|---|---|---|
| font | System::SharedPtr<Font> | Police |
| glyphIds | System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>> | Texte représenté sous forme de tableau d’identifiants de glyphes |
| fontSize | double | Police taille |
ReturnValue
Image au format PNG sous forme de flux d’octets
Voir aussi
- 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)
| Paramètre | Type | Description |
|---|---|---|
| font | System::SharedPtr<Font> | Police |
| glyphIds | System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>> | Texte représenté sous forme de tableau d’identifiants de glyphes |
| fontSize | double | Police taille |
| lineSpacingType | RenderingUtils::LineSpacingType | Type d’espacement de ligne. Nombre de pixels ou pourcentage de la hauteur de la police |
| lineSpacingValue | int32_t | Valeur de l’espacement de ligne |
| maxWidth | int32_t | Largeur maximale en pixels pour l’image |
ReturnValue
Image au format PNG sous forme de flux d’octets
Voir aussi
- 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)
| Paramètre | Type | Description |
|---|---|---|
| font | System::SharedPtr<Font> | Police |
| texte | System::String | Texte |
| fontSize | double | Police taille |
ReturnValue
Image au format PNG sous forme de flux d’octets
Voir aussi
- 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)
| Paramètre | Type | Description |
|---|---|---|
| font | System::SharedPtr<Font> | Police |
| texte | System::String | Texte |
| fontSize | double | Police taille |
| lineSpacingType | RenderingUtils::LineSpacingType | Type d’espacement de ligne. Nombre de pixels ou pourcentage de la hauteur de la police |
| lineSpacingValue | int32_t | Valeur de l’espacement de ligne |
| maxWidth | int32_t | Largeur maximale en pixels pour l’image |
ReturnValue
Image au format PNG sous forme de flux d’octets
Voir aussi
- Typedef SharedPtr
- Class Stream
- Class Font
- Class String
- Enum LineSpacingType
- Class RenderingUtils
- Namespace Aspose::Font::Renderers
- Library Aspose.Font for C++