Center align the diagram exported to pdf


Author
Message
sudarshan rudrappa
sudarshan rudrappa
Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)
Group: Forum Members
Posts: 9, Visits: 2
Hi,

I am exporting nevron generated image to pdf. The image is currently left aligned, but i want the image to center aligned in the pdf
I am using the following code.

DrawingView = New NDrawingView()
DrawingView.ViewLayout = CanvasLayout.Fit
Dim imageFormat As New NPdfImageFormat()
imageFormat.PageSize = New NSizeF(GetSizeInPoints("PageHeight"), GetSizeInPoints("PageWidth"))
imageFormat.Layout = PagedLayout.FitToPages

I have also attached the pdf for reference.
Please let me know how to center align the image in pdf
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search