![Pdftools logo](../icons/pdftools-icon.png) | ColorSpaceCopy Method |
Copy a color space
Copy a 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 ColorSpace Copy(
Document targetDocument,
ColorSpace colorSpace
)
Parameters
- targetDocument Document
-
the output document with which the returned object is associated
- colorSpace ColorSpace
-
a color space of a different document
Return Value
ColorSpace
the copied color space, associated with the current document.
Exceptions
See Also