Microsoft KB Archive/887184

= The behavior of built-in line patterns is different from the behavior of custom line patterns in Visio =

Article ID: 887184

Article Last Modified on 6/13/2007

-

APPLIES TO


 * Microsoft Office Visio Professional 2007
 * Microsoft Office Visio Standard 2007
 * Microsoft Office Visio Professional 2003
 * Microsoft Office Visio Standard 2003
 * Microsoft Visio 2002 Professional Edition
 * Microsoft Visio 2002 Standard Edition

-



SYMPTOMS
In Microsoft Visio, you notice that the behavior of built-in line patterns differs from the behavior of custom line patterns. Additionally, you experience the following symptoms:
 * When you increase or decrease the length of a line that uses a built-in line pattern, the detail of the line pattern does not change. The line pattern is truncated when the end of the line is reached.
 * When you increase or decrease the length of a line that uses a custom line pattern, the detail of the line pattern changes depending on the length of the line. The whole pattern fits into the length of the line. The line pattern is not truncated.



CAUSE
This behavior occurs because line patterns in Visio are processed as follows:
 * The instances of built-in line patterns are truncated to fit the line. The width of the components in the line pattern is always the same, regardless of the length of the line.
 * The instances of custom line patterns are scaled to fit the line. The width of the components in the line pattern changes, depending on the length of the line.

GDI+ routines are used to create lines that use built-in line types, whereas Visio code is used to process custom line types. Visio works in this manner by design.

Additional query words: Visio2002 Visio2003 Visio2007

Keywords: kbexpertisebeginner kbdisplay kbtshoot kbprb KB887184

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.