我想在标签\贴纸上打印我自己的标签。我之前从未这样做过,而且我不确定如何重复选定的图像x次适合贴纸上的贴纸。
我们如何做到这一点?
(使用VB.net)
修改
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Canvas Width="100" Height="200">
<Image Height="100" HorizontalAlignment="Left" Margin="12,12,0,0" Name="Image1" Stretch="Fill" VerticalAlignment="Top" Width="100" Source="/WpfApplication1;component/Images/FFR_Hot_Rod_Fenders_9.jpg" />
<Image Height="100" HorizontalAlignment="Left" Margin="124,12,0,0" Name="Image2" Stretch="Fill" VerticalAlignment="Top" Width="100" Source="/WpfApplication1;component/Images/FFR_Hot_Rod_Fenders_9.jpg" />
</Canvas>
</Grid>
</Window>