VSSWATCHMETRICS Members
Include Protected Members
Include Inherited Members
Contains metrics about a swatch control.
The VSSWATCHMETRICS type exposes the following members.
Methods
Name
Description
Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Returns the hash code for this instance. (Inherited from ValueType.)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Returns the fully qualified type name of this instance. (Inherited from ValueType.)
Top
Fields
Name
Description
Number of columns; must be greater than or equal to 1.
Number of rows/lines; must be greater than or equal to 1.
Width of each cell; 0 or -1 = current button width, -2 = default color cell width.
Preferred width of whole control. Office will override if it is too small; use 0 if you don't care.
Height of each cell; 0 or -1 = current button height, -2 = default color cell height.
Preferred height of whole control; Office will override if it is too small; use 0 if you don't care.
Pixel width between cells; 0 or -1 = use default of 2 pixels.
Pixel height between cells; 0 or -1 = use default of 2 pixels.
true if the client image is sensitive to palette changes.
Top