Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Canvas.DrawText Not Implemented Exception #456

Open
venkatkonda opened this issue Jun 22, 2022 · 1 comment
Open

Canvas.DrawText Not Implemented Exception #456

venkatkonda opened this issue Jun 22, 2022 · 1 comment

Comments

@venkatkonda
Copy link

public class GraphicsDrawable : IDrawable { public void Draw(ICanvas canvas, RectF dirtyRect) { canvas.FontColor = Colors.Black; canvas.FontSize = 14; string markdownText = @"This is *italic text*, **bold text**, __underline text__, and ***bold italic text***."; IAttributedText attributedText = MarkdownAttributedTextReader.Read(markdownText); canvas.DrawText(attributedText, 10, 10, 400, 400); } }

Error : The method or operation is not implemented.

@venkatkonda venkatkonda closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2022
@SkySpiritDev
Copy link

SkySpiritDev commented Jul 27, 2022

I have same issue with WinUi3

string markdownText = @"12345"; IAttributedText attributedText = MarkdownAttributedTextReader.Read(markdownText); canvas.DrawText(attributedText, 10, 10, 400, 400);

Screenshot_1

Screenshot_2

@venkatkonda venkatkonda reopened this Jun 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants