Gets or sets the color space of the document.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public override PdfColorSpace ColorSpace { get; set; }
Public Overrides Property ColorSpace As PdfColorSpace
	Get
	Set
public:
virtual property PdfColorSpace ColorSpace {
	PdfColorSpace get () override;
	void set (PdfColorSpace value) override;
}
abstract ColorSpace : PdfColorSpace with get, set
override ColorSpace : PdfColorSpace with get, set

Property Value

PdfColorSpace
The of the document.

Remarks

This property has impact on the new created pages only. If a page was created it remains its colour space obliviously to this property changes.

See Also