You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Properties > DocumentAlignment Property
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.DocumentAlignment Property

Default image alignment within the viewer when the area of the viewer if smaller than the displayed document in its current zoom configuration. 

IE: set this property to ImagePositionTopLeft to show to top-left area of the image when the user make a positive zoom.

C#
public ViewerDocumentAlignment DocumentAlignment;
Visual Basic
Public Property DocumentAlignment() As ViewerDocumentAlignment
Returns

A member of the ViewerDocumentAlignment enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.