How can print a memorstream

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?SGFDaGU=?=

    #1

    How can print a memorstream

    I have a tiff file in memory stream. How can print it with out save as a file.

    best

  • Herfried K. Wagner [MVP]

    #2
    Re: How can print a memorstream

    "HaChe" <HaChe@discussi ons.microsoft.c omschrieb:
    >I have a tiff file in memory stream. How can print it with out save as a
    >file.
    Construct an 'Image' object from the memory stream using 'Image.FromStre am'.
    Then use the 'PrintDocument' object and draw the image onto the page in its
    'PrintPage' event handler.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    Working...