Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Helpers Namespaces
CMS.Helpers
ImageHelper Class
ImageHelper Methods
ImageToBytes Method
ImageToBytes Method (Image)
ImageToBytes Method (Image, Int32)
ImageHelper
ImageToBytes Method (Image)
Converts Image to byte array.
Namespace:
CMS.Helpers
Assembly:
CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
Copy
public
byte
[]
ImageToBytes
(
Image
img
)
Parameters
img
Type:
System.Drawing
Image
Image object
Return Value
Type:
Byte
See Also
Reference
ImageHelper Class
ImageToBytes Overload
CMS.Helpers Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com