共用方式為


CompositionViewBox.HorizontalAlignmentRatio 屬性

定義

取得或設定檢視方塊的水準對齊比例。

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

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

屬性值

Single

float

檢視方塊的水準對齊比例。

適用於