PDF Plugin for Xojo |

# ExtendedGraphicsState.SetBlendMode Method (console safe)

Sets blend mode

SetBlendMode(
value as ExtendedGraphicsState.BlendModeEnum)

#### Parameters

value
  This value can be any one of the values defined in the ExtendedGraphicsMode.BlendModeEnum

#### Remarks

Setting blend model example:

Dim state as ExtendedGraphicsState
state = pdf.CreateExtendedGraphicsState()
state.SetBlendMode(ExtendedGraphicsState.BlendModeEnum.DARKEN)
myPage.SaveState()
myPage.SetExtendedState(state)
myPage.FillColor =&c0000FF
myPage.Rectangle(10,myPage.Height-160,50,50)
myPage.Fill()
myPage.RestoreState()

#### See Also

ExtendedGraphicsState Class