GoDiagram Web Reference
DocScale Property

Gets or sets the scale at which this view displays its document.
Syntax
'Declaration
 
<DescriptionAttribute("The scale at which this view displays its document.")>
<DefaultValueAttribute()>
<CategoryAttribute("Appearance")>
Public Overridable Property DocScale As Single
[DescriptionAttribute("The scale at which this view displays its document.")]
[DefaultValueAttribute()]
[CategoryAttribute("Appearance")]
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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback