Hi, your blogpost helped, but I still can not print the current map layer on the page. Part of the map is outside the printable area, and I can't include more information like s a header or scale.
This is the current code btnClick:
private void BtnPrint_click (object sender, RoutedEventArgs e)
{
imprime.BeginPrint + = (s, args) =>
{
/ / Here should show message "busy" or "printing"
};
imprime.PrintPage + = (s, args) =>
{
args.PageVisual = this.Mapa;
args.HasMorePages = false, / * 1 * /
};
imprime.EndPrint + = (s, args) =>
{
/ / Hide message here is "busy" or "imprinting," or switch to printing completed
};
imprime.Print (Digital Map of Salvador ");
}