Menu

#2 Print bug, diagram is too small.

v1.0 (example)
open
nobody
None
5
2001-11-15
2001-11-15
No

When I try to print a diagram the classes and
interfaces are tiny in the output document, nearly
impossible to see. Looks the same in "print preview"
to small and tiny.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I've fixed this with the following brief hack

    add..

    UMLView.h:
    private:
    double m_dScaleBeforePrinting

    and change in UMLView.cpp to

    void CUMLView::OnBeginPrinting( CDC* , CPrintInfo* )
    {
    m_dScaleBeforePrinting = m_scale;
    setScale(3.0);
    }

    void CUMLView::OnEndPrinting( CDC* , CPrintInfo* )
    {
    if(m_dScaleBeforePrinting)
    setScale(m_dScaleBeforePrinting);
    else
    setScale(1.0);
    }

    The value 3.0 is used as the scale for printing and I works out
    as a good value for me with my monitor, printer etc.

     
  • adam vernier

    adam vernier - 2004-11-30

    Logged In: YES
    user_id=952855

    any chance of this fix being made available soon? I love the
    app! just can't print. :(

     
MongoDB Logo MongoDB