locked
How to print the content of a text block in metro style app windowqs8

    Question

  • Hi,

    I have a metro style application in windows 8.My application has a textblock . I want to print the content of that textblock from my application.

    How to do that?

    Wednesday, October 03, 2012 5:55 AM

All replies

  • See TextBlock.Text property

    Actually, where you want to print the content ??

    If you want to print it Debug mode, then you can use......

    OutputDebugStringW ( textBlockName->Text->Data() );

    Wednesday, October 03, 2012 6:40 AM
  • Hi,

    What do you mean the print?
    Do you want to print to a printer or just print to some log file or output Windows of Visual Studio.

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, October 04, 2012 6:10 AM
  • Hi Jesse,

    I want to print it to a printer.

    Thursday, October 04, 2012 7:10 AM