Udostępnij za pośrednictwem


CompositionViewBox.VerticalAlignmentRatio Property

Definition

Gets or sets the vertical alignment ratio of the view box.

public:
 property float VerticalAlignmentRatio { float get(); void set(float value); };
float VerticalAlignmentRatio();

void VerticalAlignmentRatio(float value);
public float VerticalAlignmentRatio { get; set; }
var single = compositionViewBox.verticalAlignmentRatio;
compositionViewBox.verticalAlignmentRatio = single;
Public Property VerticalAlignmentRatio As Single

Property Value

Single

float

The vertical alignment ratio of the view box.

The default value is set to 0.5.

Applies to