System::Xml::XmlWriter::Create method
XmlWriter::Create(const SharedPtr<IO::Stream>&) method
Creates a new XmlWriter instance using the specified stream.
static SharedPtr<XmlWriter> System::Xml::XmlWriter::Create(const SharedPtr<IO::Stream> &output)
| Parameter | Type | Description | 
|---|---|---|
| output | const SharedPtr<IO::Stream>& | The stream to which you want to write. The XmlWriter writes XML 1.0 text syntax and appends it to the specified stream. | 
ReturnValue
An XmlWriter object.
See Also
- Typedef SharedPtr
 - Class XmlWriter
 - Class Stream
 - Class XmlWriter
 - Namespace System::Xml
 - Library Aspose.Page for C++
 
XmlWriter::Create(const SharedPtr<IO::Stream>&, SharedPtr<XmlWriterSettings>) method
Creates a new XmlWriter instance using the stream and XmlWriterSettings object.
static SharedPtr<XmlWriter> System::Xml::XmlWriter::Create(const SharedPtr<IO::Stream> &output, SharedPtr<XmlWriterSettings> settings)
| Parameter | Type | Description | 
|---|---|---|
| output | const SharedPtr<IO::Stream>& | The stream to which you want to write. The XmlWriter writes XML 1.0 text syntax and appends it to the specified stream. | 
| settings | SharedPtr<XmlWriterSettings> | The XmlWriterSettings object used to configure the new XmlWriter instance. If this is nullptr, a XmlWriterSettings with default settings is used. If the XmlWriter is being used with the XslCompiledTransform:Transform(String,SharedPtr | 
ReturnValue
An XmlWriter object.
See Also
- Typedef SharedPtr
 - Class XmlWriter
 - Class Stream
 - Class XmlWriterSettings
 - Class XmlWriter
 - Namespace System::Xml
 - Library Aspose.Page for C++
 
XmlWriter::Create(const SharedPtr<IO::TextWriter>&) method
Creates a new XmlWriter instance using the specified TextWriter.
static SharedPtr<XmlWriter> System::Xml::XmlWriter::Create(const SharedPtr<IO::TextWriter> &output)
| Parameter | Type | Description | 
|---|---|---|
| output | const SharedPtr<IO::TextWriter>& | The TextWriter to which you want to write. The XmlWriter writes XML 1.0 text syntax and appends it to the specified TextWriter. | 
ReturnValue
An XmlWriter object.
See Also
- Typedef SharedPtr
 - Class XmlWriter
 - Class TextWriter
 - Class XmlWriter
 - Namespace System::Xml
 - Library Aspose.Page for C++
 
XmlWriter::Create(const SharedPtr<IO::TextWriter>&, SharedPtr<XmlWriterSettings>) method
Creates a new XmlWriter instance using the TextWriter and XmlWriterSettings objects.
static SharedPtr<XmlWriter> System::Xml::XmlWriter::Create(const SharedPtr<IO::TextWriter> &output, SharedPtr<XmlWriterSettings> settings)
| Parameter | Type | Description | 
|---|---|---|
| output | const SharedPtr<IO::TextWriter>& | The TextWriter to which you want to write. The XmlWriter writes XML 1.0 text syntax and appends it to the specified TextWriter. | 
| settings | SharedPtr<XmlWriterSettings> | The XmlWriterSettings object used to configure the new XmlWriter instance. If this is nullptr, a XmlWriterSettings with default settings is used. If the XmlWriter is being used with the XslCompiledTransform:Transform(String,SharedPtr | 
ReturnValue
An XmlWriter object.
See Also
- Typedef SharedPtr
 - Class XmlWriter
 - Class TextWriter
 - Class XmlWriterSettings
 - Class XmlWriter
 - Namespace System::Xml
 - Library Aspose.Page for C++
 
XmlWriter::Create(const SharedPtr<Text::StringBuilder>&) method
Creates a new XmlWriter instance using the specified Text::StringBuilder.
static SharedPtr<XmlWriter> System::Xml::XmlWriter::Create(const SharedPtr<Text::StringBuilder> &output)
| Parameter | Type | Description | 
|---|---|---|
| output | const SharedPtr<Text::StringBuilder>& | The Text::StringBuilder to which to write to. Content written by the XmlWriter is appended to the Text::StringBuilder. | 
ReturnValue
An XmlWriter object.
See Also
- Typedef SharedPtr
 - Class XmlWriter
 - Class StringBuilder
 - Class XmlWriter
 - Namespace System::Xml
 - Library Aspose.Page for C++
 
XmlWriter::Create(const SharedPtr<Text::StringBuilder>&, SharedPtr<XmlWriterSettings>) method
Creates a new XmlWriter instance using the Text::StringBuilder and XmlWriterSettings objects.
static SharedPtr<XmlWriter> System::Xml::XmlWriter::Create(const SharedPtr<Text::StringBuilder> &output, SharedPtr<XmlWriterSettings> settings)
| Parameter | Type | Description | 
|---|---|---|
| output | const SharedPtr<Text::StringBuilder>& | The Text::StringBuilder to which to write to. Content written by the XmlWriter is appended to the Text::StringBuilder. | 
| settings | SharedPtr<XmlWriterSettings> | The XmlWriterSettings object used to configure the new XmlWriter instance. If this is nullptr, a XmlWriterSettings with default settings is used. If the XmlWriter is being used with the XslCompiledTransform:Transform(String,SharedPtr | 
ReturnValue
An XmlWriter object.
See Also
- Typedef SharedPtr
 - Class XmlWriter
 - Class StringBuilder
 - Class XmlWriterSettings
 - Class XmlWriter
 - Namespace System::Xml
 - Library Aspose.Page for C++
 
XmlWriter::Create(const SharedPtr<XmlWriter>&) method
Creates a new XmlWriter instance using the specified XmlWriter object.
static SharedPtr<XmlWriter> System::Xml::XmlWriter::Create(const SharedPtr<XmlWriter> &output)
| Parameter | Type | Description | 
|---|---|---|
| output | const SharedPtr<XmlWriter>& | The XmlWriter object that you want to use as the underlying writer. | 
ReturnValue
An XmlWriter object that is wrapped around the specified XmlWriter object.
See Also
- Typedef SharedPtr
 - Class XmlWriter
 - Class XmlWriter
 - Namespace System::Xml
 - Library Aspose.Page for C++
 
XmlWriter::Create(const SharedPtr<XmlWriter>&, SharedPtr<XmlWriterSettings>) method
Creates a new XmlWriter instance using the specified XmlWriter and XmlWriterSettings objects.
static SharedPtr<XmlWriter> System::Xml::XmlWriter::Create(const SharedPtr<XmlWriter> &output, SharedPtr<XmlWriterSettings> settings)
| Parameter | Type | Description | 
|---|---|---|
| output | const SharedPtr<XmlWriter>& | The XmlWriter object that you want to use as the underlying writer. | 
| settings | SharedPtr<XmlWriterSettings> | The XmlWriterSettings object used to configure the new XmlWriter instance. If this is nullptr, a XmlWriterSettings with default settings is used. If the XmlWriter is being used with the XslCompiledTransform:Transform(String,SharedPtr | 
ReturnValue
An XmlWriter object that is wrapped around the specified XmlWriter object.
See Also
- Typedef SharedPtr
 - Class XmlWriter
 - Class XmlWriterSettings
 - Class XmlWriter
 - Namespace System::Xml
 - Library Aspose.Page for C++
 
XmlWriter::Create(const String&) method
Creates a new XmlWriter instance using the specified filename.
static SharedPtr<XmlWriter> System::Xml::XmlWriter::Create(const String &outputFileName)
| Parameter | Type | Description | 
|---|---|---|
| outputFileName | const String& | The file to which you want to write. The XmlWriter creates a file at the specified path and writes to it in XML 1.0 text syntax. The outputFileName must be a file system path. | 
ReturnValue
An XmlWriter object.
See Also
- Typedef SharedPtr
 - Class XmlWriter
 - Class String
 - Class XmlWriter
 - Namespace System::Xml
 - Library Aspose.Page for C++
 
XmlWriter::Create(const String&, SharedPtr<XmlWriterSettings>) method
Creates a new XmlWriter instance using the filename and XmlWriterSettings object.
static SharedPtr<XmlWriter> System::Xml::XmlWriter::Create(const String &outputFileName, SharedPtr<XmlWriterSettings> settings)
| Parameter | Type | Description | 
|---|---|---|
| outputFileName | const String& | The file to which you want to write. The XmlWriter creates a file at the specified path and writes to it in XML 1.0 text syntax. The outputFileName must be a file system path. | 
| settings | SharedPtr<XmlWriterSettings> | The XmlWriterSettings object used to configure the new XmlWriter instance. If this is nullptr, a XmlWriterSettings with default settings is used. If the XmlWriter is being used with the XslCompiledTransform:Transform(String,SharedPtr | 
ReturnValue
An XmlWriter object.
See Also
- Typedef SharedPtr
 - Class XmlWriter
 - Class String
 - Class XmlWriterSettings
 - Class XmlWriter
 - Namespace System::Xml
 - Library Aspose.Page for C++