Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Xwt
Drawing
Image
WithSize
Xwt.Drawing.Image.WithSize C# (CSharp) Method
Image Class Documentation
Exibir arquivo
Open project: mono/xwt
WithSize()
public
method
Retuns a copy of the image with a specific size
This is a lightweight operation. The image is scaled when it is rendered. The method doesn't make a copy of the image data.
public
WithSize
(
Size
size
) :
Image
size
Size
The size.
return
Image
public Image WithSize(Size size) { return new Image (this) { requestedSize = size }; }
Same methods
Image::
WithSize
(
IconSize
size
) :
Image
Image::
WithSize
(
double
squaredSize
) :
Image
Image::
WithSize
(
double
width
,
double
height
) :
Image
Image
CreateComposedNinePatch
CreateMultiResolutionImage
CreateMultiSizeIcon
Dispose
FromCustomLoader
FromFile
FromResource
FromStream
GetDefaultSize
GetExtension
GetFixedSize
GetImageDescription
Image
Init
InitForToolkit
LoadImage
ParseImageHints
Save
Scale
ToBitmap
WithAlpha
WithBoxSize
WithSize
WithStyles