GoDiagram Win Reference
DocScale Property (GoRuler)

Gets or sets the document scale ratio for the ruler (Zoom).
Syntax
'Declaration
 
<DefaultValueAttribute()>
<CategoryAttribute("Ruler Display")>
<DescriptionAttribute("The ratio of displayed document units to normally scaled document units.")>
Public Overridable Property DocScale As Single
[DefaultValueAttribute()]
[CategoryAttribute("Ruler Display")]
[DescriptionAttribute("The ratio of displayed document units to normally scaled document units.")]
public virtual float DocScale {get; set;}

Property Value

The default value is 1.0f; the value must be greater than zero.
Remarks

The DocScale property is useful for zooming. For example, when the DocScale is set to a value of 0.5, the ruler will display measurements at %50 of their normal size. When the DocScale is set to a value of 2.0, the ruler will display measurements at %200 of their normal size.

This value is normally kept in sync with a GoView's DocScale property.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoRuler Class
GoRuler Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback