Print - node some node objects not printing

Hi,

I am printing an ER Diagram. The diagram prints but the columns inside each node which include a list of checkbox bitmaps and column namse does not print. See following code. What do I need to do to also print all node objects. EntityView is a MyGoView class which inherits from GoView.

Thanks
Rich

    public void PrintERDiagram()
    {

        SizeF docsize = this.<b>EntitiesView</b>.PrintDocumentSize;
        if (docsize.Width > 1 || docsize.Height > 1)
        {
            PrintDocument pd = new PrintDocument();
            Rectangle b = pd.DefaultPageSettings.Bounds;
            Margins m = pd.DefaultPageSettings.Margins;
            float w = b.Width - (m.Left + m.Right);
            float h = b.Height - (m.Top + m.Bottom);
            float ratio = Math.Min(w / docsize.Width, h / docsize.Height);
            if (ratio > 1)
                ratio = 1;
            this.EntitiesView.PrintScale = ratio;
        }
        this.EntitiesView.PrintPreview();           
    }

Are the checkboxes GoObjects? or real Checkbox Windows controls?

Hi Jake,

I have two gif files for checked and unchecked checkboxes.

Thanks

Rich

Well, they should just print. You don’t have them set to Printable=false?

Hi Jake,

That fixed it.

Thanks
Rich