示例#1
0
        public static ColorSpaceDeviceGray Create(bool indirect)
        {
            ColorSpaceDeviceGray gray1 = (Resources.Get(PDF.N("DeviceGray"), typeof(ColorSpaceDeviceGray)) as ColorSpaceDeviceGray);

            if (indirect)
            {
                Library.CreateIndirect(gray1.Direct);
            }
            return(gray1);
        }
示例#2
0
 public static ColorSpaceDeviceGray Create()
 {
     return(ColorSpaceDeviceGray.Create(false));
 }