iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Data.Assortment
ProductExtensions Class
ProductExtensions Methods
GetDisabledSizes Method
GetIncludedInMenuSections Method
GetTemplatedModifiersParams Method
TryGetDisabledSizes Method
TryGetIncludedInMenuSections Method
TryGetParent Method
TryGetProductGroupMenuBitmap Method
TryGetProductMenuBitmap Method
TryGetTemplatedModifiersParams Method

# ProductExtensions TryGetProductGroupMenuBitmap Method

Returns a bitmap image to be shown as a background on a menu button for the specified product group. If the product group doesn't have an image, null will be returned.

Namespace: Resto.Front.Api.Data.Assortment
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    public static Bitmap TryGetProductGroupMenuBitmap(
    	this IProductGroup productGroup
    )

#### Parameters

productGroup
  Type: Resto.Front.Api.Data.Assortment
  IProductGroup
  Product group to get menu image for.

#### Return Value

Type: Bitmap

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IProductGroup. 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).
Remarks
The image may be of any format, depending on what the user has uploaded.
See Also

#### Reference

ProductExtensions Class
Resto.Front.Api.Data.Assortment Namespace
IProductGroup
HasMenuImage
IProductGroup
BackgroundColor
IProductGroup
FontColor
IOperationService
TryGetProductGroupMenuImage(IProductGroup)