IconExtensionsGetImagesCount Method
Gets the number of images in the icon.
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 8.1.0
public static int GetImagesCount(
this Icon icon
)
<ExtensionAttribute>
Public Shared Function GetImagesCount (
icon As Icon
) As Integer
public:
[ExtensionAttribute]
static int GetImagesCount(
Icon^ icon
)
[<ExtensionAttribute>]
static member GetImagesCount :
icon : Icon -> int
- icon Icon
- The icon to check.
Int32The number of images in the
icon.In Visual Basic and C#, you can call this method as an instance method on any object of type
Icon. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).