Page History
スピン編集 - PromptIconImageSizingプロパティ
| Panel | ||
|---|---|---|
| ||
PromptIconImageのサイズ調整の動作を指定 |
...
スピン編集 (PRIM_MD.SpinEdit) のメンバ
データタイプ - 列挙
詳細
...
PromptIconImageSizingプロパティは、PromptIconHeightで定義されたスペース内に収まるようにPromptIconImageをどのように拡大・縮小するかを指定します。
許容値
列挙値 | 説明 |
|---|---|
BestFit | イメージの縦横比を保ちつつ、使用できるスペース内に合うようサイズ調整されます。 |
Cropped | イメージの縦横比を保ちつつ、使用できるスペース内に合うようサイズ調整されます。コントロールの縦もしくは横のサイズが合うと、サイズ調整は行われません。これにより、イメージの一部が表示されない場合があります。 |
FitBoth | イメージは正確に縦と横のサイズに合うよう、サイズ調整されます。イメージの縦横比は保たれません。これにより、イメージが引き伸ばされたように見える場合があります。 |
None | イメージのサイズ調整は行われません。 |
ShrinkToFit | イメージがコントロールより大きい場合、縦横比を保ちつつコントロール内に収まるよう、サイズ調整されます。コントロールより小さい場合は何も行われません。 |
Allowed Values
Enum Value
Description
BestFit
The image is resized to fit in the available space while still maintaining its aspect ratio
Cropped
The image is resized to fit the available space while still maintaining its aspect ratio. Once either the horizontal or vertical fits within the control, not further resizing is done. This may result in some of the image not being visible
FitBoth
The image is resized to precisely fit the horizontal and vertical space. The aspect ratio is not maintained. This may result in the image appearing stretched
None
The image is not resized in any way
ShrinkToFit