IXpsFixedPageWriter.AddColorContext Method ()


Adds a new XpsColorContext to the current page.

Namespace:   System.Windows.Xps.Packaging
Assembly:  ReachFramework (in ReachFramework.dll)

XpsColorContext AddColorContext()

Return Value

Type: System.Windows.Xps.Packaging.XpsColorContext

The new color context resource that was added.

Exception Condition

Dispose has been called.

AddColorContext adds a new XpsColorContext to the document package and associates it with the current FixedPage.

.NET Framework
Available since 3.0
Return to top