Northwoods.Go.Draw Assembly > Northwoods.Go.Draw Namespace > GoRuler Class : DocScale Property |
'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;}
1.0f
; the value must be greater than zero.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.
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