Defines the caption width in pixels (overrides SizePercent).
Get
| C# | int WPix = object.WidthPix; |
| VB.NET | WPix = object.WidthPix As Integer |
| C++ | long WPix = object->WidthPix; long WPix = object->GetWidthPix(); |
| C | HRESULT object->get_WidthPix(long* WPix); |
| VB | WPix = object.WidthPix As Long |
Put
| C# | int object.WidthPix = WPix; |
| VB.NET | object.WidthPix = WPix As Integer |
| C++ | long object->WidthPix = WPix; void object->PutWidthPix(long WPix); |
| C | HRESULT object->put_WidthPix(long WPix); |
| VB | object.WidthPix = WPix As Long |
object
WPix
Defines the caption width in pixels (overrides SizePercent)., in pixels.
The WidthPix property defines the caption width in pixels (overrides SizePercent).
The SizePercent property defines the caption's relative width (left/right position).
The caption area position and size are defined using a combination of the Caption.SizePercent or Caption.Width, Caption.Position and AutoSize properties. For a detailed description of the various combinations, please see the chapter Built-In Caption.
See Also SftMaskCaption Object | Object Hierarchy