VSSWATCHMETRICS VSSWATCHMETRICS VSSWATCHMETRICS Struct

Definition

Contains metrics about a swatch control.

public struct VSSWATCHMETRICS
type VSSWATCHMETRICS = struct
Public Structure VSSWATCHMETRICS
Inheritance
VSSWATCHMETRICSVSSWATCHMETRICSVSSWATCHMETRICS

Fields

cColumns cColumns cColumns

Number of columns; must be greater than or equal to 1.

cRows cRows cRows

Number of rows/lines; must be greater than or equal to 1.

cxCell cxCell cxCell

Width of each cell; 0 or -1 = current button width, -2 = default color cell width.

cxCtrl cxCtrl cxCtrl

Preferred width of whole control. Office will override if it is too small; use 0 if you don't care.

cyCell cyCell cyCell

Height of each cell; 0 or -1 = current button height, -2 = default color cell height.

cyCtrl cyCtrl cyCtrl

Preferred height of whole control; Office will override if it is too small; use 0 if you don't care.

dxBetween dxBetween dxBetween

Pixel width between cells; 0 or -1 = use default of 2 pixels.

dyBetween dyBetween dyBetween

Pixel height between cells; 0 or -1 = use default of 2 pixels.

fPaletteSensitive fPaletteSensitive fPaletteSensitive

true if the client image is sensitive to palette changes.

Applies to