Photo-Paint:Palette Members

From OberonPlace Development Portal

Jump to: navigation, search
This object model documentation page is a stub automatically generated from application type library.
Please help by editing this page and filling in the missing details.
For guidelines and help please visit Editing Object Model Pages

Contents

Palette Members

Class Palette has the following members:

Properties

Name Description
Application Gets the application to which the object belongs (read-only)
Color Gets or sets a color object based on index
ColorCount Gets the number of colors in a color palette (read-only)
DuplicatePresent Advises if a color is repeated in a color palette (read-only)
FileName Gets the filename of the palette (read-only)
Name Gets or sets the color palette name; palette name can only be set if it is a custom palette
PaletteID Gets the palette ID (read-only)
Parent Gets the parent of which this object is a child (read-only)
Type Gets whether or not a color palette is custom or fixed (read-only)

Methods

Name Description
AddColor Adds a color to a custom color palette
Close Closes the color palette
Colors Gets a collection of colors in a palette
FindColor Finds the color by name
GetIndexOfColor Gets the index of a color object
InsertColor Inserts a color into a custom color palette
MatchColor Finds the closest match for the color from the given palette
RemoveColor Removes a color from a custom color palette
Save Saves the palette

References

Personal tools