GoDiagram Web Reference
DocPosition Property

Gets or sets the position in the document that this view is displaying.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<ReadOnlyAttribute(True)>
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The position in the document that this view is displaying.")>
Public Overridable Property DocPosition As PointF
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[ReadOnlyAttribute(true)]
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The position in the document that this view is displaying.")]
public virtual PointF DocPosition {get; set;}

Property Value

The PointF value is in document coordinates and corresponds to this view's top-left corner's position in the document. Initially the value is (0, 0).
Remarks
When setting this property, it first adjusts the value by calling LimitDocPosition.
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(Point) Method
ConvertDocToView(PointF) Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback