Creates a picture box.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
C# |
---|
[DefaultMethodAttribute] public static PictureBox CreatePictureBox( int x, int y, int width, int height, Image image ) |
Parameters
- x
- Type: System..::.Int32
Position X.
- y
- Type: System..::.Int32
Position Y.
- width
- Type: System..::.Int32
Control width.
- height
- Type: System..::.Int32
Control height.
- image
- Type: System.Drawing..::.Image
A shown picture.
Return Value
Returns a created control.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | image is nullNothingnullptra null reference (Nothing in Visual Basic). |