TX Text Control .NET Server

Save Method

Method|Introduced in 33.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.Core.SDK as TXDrawing.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDrawing.dll

Description

Saves the shapes data to the given object of type System.IO.Stream.

Syntax

public void Save(Stream stream);

Parameters

ParameterDescription
stream

Specifies an object of type System.IO.Stream the data is saved to.

Examples

The following example saves document content in a specified format. The created object is then available to the surrounding document workflow.

tXDrawingCore.Save(new System.IO.MemoryStream());
Console.WriteLine("TXDrawing Core is ready for use.");