Previous Document Next Document

Object Model Reference : Classes : C : Color : Methods : Color.PaletteAssign


Color.PaletteAssign

Sub PaletteAssign(PaletteIdentifier As String, ColorIndex As Long)

Description

Member of Color

The PaletteAssign method assigns the specified color from the specified palette.

A color is an effect applied to an object that alters the object’s appearance by the way it reflects light. A color model is a system that defines the number and type of colors that make up an image and that is used to organize and define colors according to a set of basic properties that can be reproduced. Black-and-white, grayscale, RGB, CMYK, and paletted are examples of popular color modes.

Parameter
Description
PaletteIdentifier
Specifies the unique identifier of the color palette
ColorIndex
Specifies the index number of the color in the specified color palette

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.