ImageGear for .NET
ImGearColorBook Constructor(ImGearSpotColorVendorID,String,String,String,String,String,Int32,Int32,ImGearColorSpaceIDs)
See Also  Example Send Feedback
ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearColorBook Class > ImGearColorBook Constructor : ImGearColorBook Constructor(ImGearSpotColorVendorID,String,String,String,String,String,Int32,Int32,ImGearColorSpaceIDs)




vendorId
Color book vendor ID.
fileName
Color book file name.
title
Color book title.
prefix
Color book prefix.
postfix
Color book postfix.
description
Color book description.
numberOfColors
Number of colors in color book.
colorsPerPage
Number of colors per page in color book.
colorType
Color type.

Glossary Item Box

Initializes a new instance of the ImGearColorBook class with specified parameters.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

vendorId
Color book vendor ID.
fileName
Color book file name.
title
Color book title.
prefix
Color book prefix.
postfix
Color book postfix.
description
Color book description.
numberOfColors
Number of colors in color book.
colorsPerPage
Number of colors per page in color book.
colorType
Color type.

Example

C#Copy Code
ImGearColorBooks.Initialize(files);
ImGearColorBook book = new ImGearColorBook(ImGearSpotColorVendorID.PantoneProcess, "", "My Color Book", "Prefix", "Postfix", "Description", 2, 2, ImGearColorSpaceIDs.LAB);
ImGearPixel p = new ImGearPixel(3, 8);
p[0] = 138; p[1] = 202; p[2] = 169;
book.Add(new ImGearColorBookColor("PANTONE Red 032 C", 90452819915331, p, ImGearColorSpaceIDs.LAB));
p[0] = 48; p[1] = 160; p[2] = 54;
book.Add(new ImGearColorBookColor("PANTONE reflex Blue C", 90457418519875, p, ImGearColorSpaceIDs.LAB));
ImGearColorBooks.Add(book);
Visual BasicCopy Code
ImGearColorBooks.Initialize(files)
book = New ImGearColorBook(ImGearSpotColorVendorID.PantoneProcess, "", "My Color Book", "Prefix", "Postfix", "Description", 2, 2, ImGearColorSpaceIDs.LAB)
p = New ImGearPixel(3, 8)
p(0) = 138
p(1) = 202
p(2) = 169
book.Add(New ImGearColorBookColor("PANTONE Red 032 C", 90452819915331, p, ImGearColorSpaceIDs.LAB))
p(0) = 48
p(1) = 160
p(2) = 54
book.Add(New ImGearColorBookColor("PANTONE reflex Blue C", 90457418519875, p, ImGearColorSpaceIDs.LAB))
ImGearColorBooks.Add(book)

See Also

©2013. Accusoft Corporation. All Rights Reserved.