Office .NET Class Library
Show/Hide TOC

# TextDocumentSaveAsPdf(Stream) Method

Saves the document in PDF format.

## Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public void SaveAsPdf(
    	Stream stream
    )

VB

    Public Sub SaveAsPdf (
    	stream As Stream
    )

#### Parameters

stream Stream
  The stream to save to.

## See Also

#### Reference

TextDocument Class
SaveAsPdf Overload
Independentsoft.Office.Odf Namespace