Hi Dieter,
Thank you for the clarification. In order to achieve this effect you should modify the drawing document's frame style. Here's some sample code:
NStandardFrameStyle frameStyle = new NStandardFrameStyle();
frameStyle.InnerBorderColor = view.Grid.MajorLinesStrokeStyle.Color;
frameStyle.InnerBorderWidth = new NLength(1);
frameStyle.OuterBorderColor = ((NColorFillStyle)document.BackgroundStyle.FillStyle).Color;
frameStyle.OuterBorderWidth = new NLength(20);
document.BackgroundStyle.FrameStyle = frameStyle;
Best Regards,
Nevron Support Team