6. Creating and Using Basic Fields : Composite Fields : Viewports : Viewport Properties
 
Share this page                  
Viewport Properties
All the properties for viewports are described under Common Field Properties, with the exception of the following properties that are specific to the viewport field type:
ClipHeight
Specifies the height in pixels to which the image should be clipped
ClipWidth
Specifies the width in pixels to which the image should be clipped
ScrollBarWidth
(Read-only) Displays the width of the viewport's scroll bars
XOffset
Specifies the coordinate of the field in the viewport that appears at the left edge of the viewport. This property always has a non-negative value. Setting this property to 0 moves the viewport to the left edge of the viewed field.
YOffset
Specifies the coordinate of the field in a viewport that appears at the upper edge of the viewport. This property always has a non-negative value. Setting this property to 0 moves the viewport to the top edge of the field.