Export (0) Print
Expand All

PrintTicket.GetXmlStream Method

Returns a MemoryStream object that represents the property values of a PrintTicket as an XML stream that conforms to the Print Schema.

Namespace: System.Printing
Assembly: ReachFramework (in reachframework.dll)

public MemoryStream GetXmlStream ()
public MemoryStream GetXmlStream ()
public function GetXmlStream () : MemoryStream
You cannot use methods in XAML.

Return Value

A MemoryStream object that describes the print ticket with XML that conforms to the Print Schema.

If any properties of the PrintTicket are a null reference (Nothing in Visual Basic), they will simply not be included in the XML markup.

If the PrintTicket object was constructed with a PrintTicket document that contains markup elements not represented by any of the PrintTicket class's public properties, those elements will be included in the PrintTicket document returned by this method.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft