Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / FileSpecification.RelatedFile Class / GetStream Method

In This Topic
    GetStream Method (FileSpecification.RelatedFile)
    In This Topic
    Gets a System.IO.Stream containing the content of this FileSpecification.RelatedFile, or null if the file specification is empty.

    Important: this System.IO.Stream must be disposed after use.

    Syntax
    'Declaration
     
    Public Function GetStream() As System.IO.Stream
    public System.IO.Stream GetStream()

    Return Value

    A System.IO.Stream with the content of this FileSpecification.RelatedFile, or null if it is empty. If not null, the stream must be disposed after use!
    See Also