سلام بر برنامه نویسان عزیز 😉 در این مطلب از وب سایت پروگرم 98 کد ایجاد افکت Emboss با EmbossBitmapEffect با wpf و #C را آماده کردم. انشاالله که این کد سی شارپ براتون مفید باشد.
خروجی این کد:
کد ایجاد افکت Emboss با EmbossBitmapEffect با wpf و #C :
<Window x:Class="BitmapEffectsExample"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Bitmap Effects" Height="500" Width="400">
<StackPanel Margin="5,10,5,5" Grid.Column="0" Grid.Row="2">
<TextBlock Text="Original Image" Margin="5" />
<Image Width="175" Source="c:\image.jpg" Margin="5"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Bitmap Effects" Height="500" Width="400">
<StackPanel Margin="5,10,5,5" Grid.Column="0" Grid.Row="2">
<TextBlock Text="Original Image" Margin="5" />
<Image Width="175" Source="c:\image.jpg" Margin="5"