Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Page Class / GetStream Method

In This Topic
    GetStream Method (Page)
    In This Topic
    Gets a System.IO.Stream containing the content of this Page.


    1. The stream returned by this method should be disposed after use.
    2. This method can return null if the current page is empty.
    3. In sequential generate mode this method is not supported and will throw an exception.
    Public Function GetStream() As System.IO.Stream
    public System.IO.Stream GetStream()

    Return Value

    A stream with the current page's content.
    See Also