ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearColorBook Class > ImGearColorBook Constructor : ImGearColorBook Constructor(ImGearSpotColorVendorID,String,String,String,String,String,Int32,Int32,ImGearColorSpaceIDs) |
'Declaration Public Function New( _ ByVal vendorId As ImGearSpotColorVendorID, _ ByVal fileName As String, _ ByVal title As String, _ ByVal prefix As String, _ ByVal postfix As String, _ ByVal description As String, _ ByVal numberOfColors As Integer, _ ByVal colorsPerPage As Integer, _ ByVal colorType As ImGearColorSpaceIDs _ )
'Usage Dim vendorId As ImGearSpotColorVendorID Dim fileName As String Dim title As String Dim prefix As String Dim postfix As String Dim description As String Dim numberOfColors As Integer Dim colorsPerPage As Integer Dim colorType As ImGearColorSpaceIDs Dim instance As New ImGearColorBook(vendorId, fileName, title, prefix, postfix, description, numberOfColors, colorsPerPage, colorType)
public ImGearColorBook( ImGearSpotColorVendorID vendorId, string fileName, string title, string prefix, string postfix, string description, int numberOfColors, int colorsPerPage, ImGearColorSpaceIDs colorType )
public: ImGearColorBook( ImGearSpotColorVendorID vendorId, string* fileName, string* title, string* prefix, string* postfix, string* description, int numberOfColors, int colorsPerPage, ImGearColorSpaceIDs colorType )
public: ImGearColorBook( ImGearSpotColorVendorID vendorId, String^ fileName, String^ title, String^ prefix, String^ postfix, String^ description, int numberOfColors, int colorsPerPage, ImGearColorSpaceIDs colorType )
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);
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)