Exemplo n.º 1
0
        public static ColorSpaceSeparation Create(bool indirect, string name, ColorSpace baseCS, Function tintTransform)
        {
            ColorSpaceSeparation separation1 = ColorSpaceSeparation.Create(indirect, name);

            separation1.Base          = baseCS;
            separation1.TintTransform = tintTransform;
            return(separation1);
        }
Exemplo n.º 2
0
        public static ColorSpaceSeparation Create(bool indirect, string name)
        {
            PDFArray array1 = Library.CreateArray(4);

            array1[0] = PDF.N("Separation");
            array1[1] = PDF.N(name);
            ColorSpaceSeparation separation1 = (Resources.Get(array1, typeof(ColorSpaceSeparation)) as ColorSpaceSeparation);

            if (indirect)
            {
                Library.CreateIndirect(array1);
            }
            return(separation1);
        }