0

hi I´m trying to implement this code: convert-bitmaps-to-one-multipage-tiff-image-in-net-2-0

the Second Answer

ImageCodecInfo encoderInfo = ImageCodecInfo.GetImageEncoders().First(i =>    i.MimeType == "image/tiff";

my convertion in vb .net is:

Dim encoderInfo As ImageCodecInfo = ImageCodecInfo.GetImageEncoders().First(Function(i) i => i.MimeType = "image/tiff")

it shows me "the operator '=>' is not defined for imageCodeInfo types and string"

any help??

Community
  • 1
  • 1
ger
  • 414
  • 1
  • 4
  • 22

1 Answers1

1

VB Lambda expressions do not use =>. Remove that.

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964