GoDiagram Win Reference
DocScale Property (GoView)

Gets or sets the scale at which this view displays its document.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The scale at which this view displays its document.")>
Public Overridable Property DocScale As Single
[DefaultValueAttribute()]
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The scale at which this view displays its document.")]
public virtual float DocScale {get; set;}

Property Value

A value of 1.0f specifies that one unit in document coordinates corresponds to one pixel in view coordinates. Values smaller than one make objects appear smaller on the screen. Larger values make it appear that you have zoomed into the diagram.

The float value must be greater than zero. The default value is 1.0f.

Remarks
When setting this property, it first limits the value by calling LimitDocScale. A different value is used when printing, PrintScale.
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

GoView Class
GoView Members
ConvertViewToDoc(Size) Method
ConvertDocToView(SizeF) Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback