XpsDocument.CreateIccProfile

CreateIccProfile(string)

Creates a new ICC profile resource out of ICC profile file located at the iccProfilePath.

public XpsIccProfile CreateIccProfile(string iccProfilePath)
ParameterTypeDescription
iccProfilePathStringThe path to the ICC profile to take as a resource.

Return Value

New ICC profile resource.

See Also


CreateIccProfile(Stream)

Creates a new ICC profile resource out of stream.

public XpsIccProfile CreateIccProfile(Stream stream)
ParameterTypeDescription
streamStreamThe stream containing the ICC profile to take as a resource.

Return Value

New ICC profile resource.

See Also