Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2060
Remove Grid Border on Print
posted

Hi,

When I use UltraGridPrintDocument to print a grid the grid is printed inside a border (see attached image).  Is there anyway to get rid of this?

It doesn't appear in the PDF when using UltraGridDocumentExporter, which is what I'm trying to achieve when printing.

Kind regards,

Nathan

Parents
No Data
Reply
  • 6120
    Offline posted

    Hello Nathan,

    There is a possibility of removing page border when printing with UltraGridPrintDocument using the BorderStyle property off its Page object. You can set UIElementBorderStyle.None to this property in order to remove the border. For example you can do something like this:


    / the page property is the section representing the
       // entire renderable area of the page. you can assign
       // a border around the margin area
       this.ultraPrintDocument1.Page.BorderStyle = UIElementBorderStyle.None;


    Please let me know if I may be of further assistance.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer

Children