PdfDocument.AddColorProfile Method (Stream)

Adds a new ICC color profile read from specified stream to the end of the collection of document color profiles.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfColorProfile AddColorProfile(
	Stream stream
)
VB
Public Function AddColorProfile ( 
	stream As Stream
) As PdfColorProfile

Parameters

stream
Type: System.IO.Stream
The stream to read color profile from.

Return Value

Type: PdfColorProfile
The newly added PdfColorProfile.

See Also