![Pdftools logo](../icons/pdftools-icon.png) | IccBasedColorSpaceCopy Method |
Copy an ICC-based color space
Copy an ICC-based color space object from an input document to the given
targetDocument.
The returned object is associated with the given target document but not yet part of it.
Namespace: PdfTools.FourHeights.PdfToolbox.Pdf.ContentAssembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 1.0.0
Syntaxpublic static IccBasedColorSpace Copy(
Document targetDocument,
IccBasedColorSpace colorSpace
)
Parameters
- targetDocument Document
-
the output document with which the returned object is associated
- colorSpace IccBasedColorSpace
-
an ICC-based color space of a different document
Return Value
IccBasedColorSpace
the copied color space, associated with the current document.
Exceptions
See Also