You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > Loading Documents (Image, PDF & Metafile) > DisplayFromStream > DisplayFromStream Method (Stream, String)
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.DisplayFromStream Method (Stream, String)

Displays a document from a stream specifying a password to decrypt it (useful for encrypted PDF).

C#
public GdPictureStatus DisplayFromStream(
    Stream Stream, 
    String PassWord
);
Visual Basic
Public Function DisplayFromStream(
    ByVal Stream As Stream, 
    ByVal PassWord As String
) As GdPictureStatus
Parameters
Parameters 
Description 
Stream 
System.IO.Stream object storing the document.  
PassWord 
Sets the password to use for reading the content of a PDF document.  
Returns

A member of the GdPictureStatus enumeration.

Supported formats are PDF, RAW, PICT, PDF, BMP, DIB, RLE, ICO, EMF, WMF, GIF, ANIMATED GIF, JPEG, JPG, JPE, JFIF, PNG, TIFF, MULTIPAGE TIFF, PNM, PPM, PBM, PGM, PFM, RPPM, RPGM, RPBM, PCX, XPM, XBM, WBMP, TGA, SGI, Sun RAS, PSD, MNG, Kodak PhotoCD files, KOALA files, JP2, J2K, JNG, JBIG, IFF, HDR, Raw Fax G3, EXR, DDS and Dr. Halo files.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.