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.
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 Basic | Copy 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) |