[]
        
(Showing Draft Content)

C1.Win.C1Gauge.C1GaugeViewport

C1GaugeViewport Class

Specifies the bounds of a Gauge element.

Inheritance
C1GaugeViewport
Namespace: C1.Win.C1Gauge
Assembly: C1.Win.C1Gauge.4.8.dll
Syntax
public class C1GaugeViewport

Properties

Name Description
AspectPinX

Gets or sets the relative X position that remains fixed when the viewport moves in order to maintain the aspect ration.

AspectPinY

Gets or sets the relative Y position that remains fixed when the viewport moves in order to maintain the aspect ratio.

AspectRatio

Gets or sets the fixed ratio of width to height of the viewport.

Bounds

Gets the size and location of the viewport, in pixels, relative to the parent control.

Height

Gets or sets the height of the viewport (in pixels).

MarginX

Gets or sets the left and right margins (in pixels).

MarginY

Gets or sets the top and bottom margins (in pixels).

ScaleX

Scales the width of the viewport by the specified relative amount (after translation).

ScaleY

Scales the height of the viewport by the specified relative amount (after translation).

TranslateX

Moves the viewport by the specified relative amount along the X-axis (before scaling).

TranslateY

Moves the viewport by the specified relative amount along the Y-axis (before scaling).

Width

Gets or sets the width of the viewport (in pixels).

X

Gets or sets the X-offset of the viewport (in pixels).

Y

Gets or sets the Y-offset of the viewport (in pixels).