zoom

Type: Integer

Availability: Read or write at any time

The zoom property of the MultiMedia class contains the zoom factor of the video image. As not all devices support this facility, its use raises an exception when it is not supported. The zoom default value is 100 percent.

A zoom factor of 50 percent halves the size of the control and a factor of 200 percent doubles the control size, and so on. Setting the zoom property to zero (0) when the value of the autoSize property is false stretches the media image to the current size of the client area of the control.

MultiMedia controls are sized as follows.

For the JadeRichText class, the zoom property contains the factor by which the contents of the control are zoomed. This is a scale factor in the range 2 percent through 6,400 percent. A value of zero (0) indicates no zooming. The zoom default value is 100 percent; that is, this property is set to zero (0). A zoom factor of 50 percent halves the size of the control and a factor of 200 percent doubles the control size, and so on. For a rich text control, the zoom property requires a scalable font; for example, the Microsoft Sans Serif font is not a True Type font and therefore it cannot be scaled.

The zoom property of the JadeTextEdit control, which is read and write at run time only, contains the current zoom factor.

The zoom factor, which defaults to zero (0), enables you to increase or decrease the font size of text in the text editor in steps of one point. The point size is added to or removed from the font size. Although you can specify a value in the range -10 points through 150 points, the displayed point size never decreases below two points.

The numeric keypad plus (+), minus (-), and divide (/) character keys in conjunction with the Ctrl key set the zoom value up by one, down by one, and to zero (0), respectively.