Click or drag to resize

StiImageConverterBytesToImage Method

[Missing <summary> documentation for "M:Stimulsoft.Base.Drawing.StiImageConverter.BytesToImage(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean)"]

Namespace:  Stimulsoft.Base.Drawing
Assembly:  Stimulsoft.Base (in Stimulsoft.Base.dll) Version: 2019.3.1.0
Syntax
public static Image BytesToImage(
	byte[] bytes,
	int width = 200,
	int height = 200,
	bool stretch = true,
	bool aspectRatio = false
)

Parameters

bytes
Type: SystemByte

[Missing <param name="bytes"/> documentation for "M:Stimulsoft.Base.Drawing.StiImageConverter.BytesToImage(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean)"]

width (Optional)
Type: SystemInt32

[Missing <param name="width"/> documentation for "M:Stimulsoft.Base.Drawing.StiImageConverter.BytesToImage(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean)"]

height (Optional)
Type: SystemInt32

[Missing <param name="height"/> documentation for "M:Stimulsoft.Base.Drawing.StiImageConverter.BytesToImage(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean)"]

stretch (Optional)
Type: SystemBoolean

[Missing <param name="stretch"/> documentation for "M:Stimulsoft.Base.Drawing.StiImageConverter.BytesToImage(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean)"]

aspectRatio (Optional)
Type: SystemBoolean

[Missing <param name="aspectRatio"/> documentation for "M:Stimulsoft.Base.Drawing.StiImageConverter.BytesToImage(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean)"]

Return Value

Type: Image

[Missing <returns> documentation for "M:Stimulsoft.Base.Drawing.StiImageConverter.BytesToImage(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean)"]

See Also