IXpsFixedPageWriter.AddColorContext Methode

Definition

Fügt der aktuellen Seite eine neue XpsColorContext hinzu.

public:
 System::Windows::Xps::Packaging::XpsColorContext ^ AddColorContext();
public System.Windows.Xps.Packaging.XpsColorContext AddColorContext();
abstract member AddColorContext : unit -> System.Windows.Xps.Packaging.XpsColorContext
Public Function AddColorContext () As XpsColorContext

Gibt zurück

Die neue Farbkontextressource, die hinzugefügt wurde.

Ausnahmen

Hinweise

AddColorContext fügt dem Dokumentpaket ein neues XpsColorContext hinzu und ordnet es dem aktuellen FixedPagezu.

Gilt für:

Weitere Informationen