DocumentPosition for GdViewer

Example requests & Code samples for GdPicture Toolkits.
Post Reply
abinmathew
Posts: 6
Joined: Wed Nov 23, 2016 6:10 pm

DocumentPosition for GdViewer

Post by abinmathew » Tue Dec 27, 2016 6:23 pm

Hi,

I was trying to load the Viewer with a document with the position of the first page should always be on the 'Top Center' of viewer. i have tried `DocumentPosition="DocumentPositionTopCenter"` to set the position but it always goes to the position 'Center Middle' let me know what am i doing wrong.

code

<GdP:GdViewer Grid.Row="0" DocumentPosition="DocumentPositionTopCenter"
Grid.RowSpan="2"
Grid.Column="2"
local:DocEditorEx.Source="{Binding DocPath}" >
</GdP:GdViewer>

abinmathew
Posts: 6
Joined: Wed Nov 23, 2016 6:10 pm

Re: DocumentPosition for GdViewer

Post by abinmathew » Thu Jan 05, 2017 3:59 pm

Hi,

Any update on the above.

abinmathew
Posts: 6
Joined: Wed Nov 23, 2016 6:10 pm

Re: DocumentPosition for GdViewer

Post by abinmathew » Thu Jan 05, 2017 6:55 pm

Hi,

I got it working by adding `DocumentAlignment="DocumentAlignmentTopLeft"`

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest