Programmatically preview selected .MXT template in ArcGIS Desktop.

468
2
06-29-2010 12:00 AM
MuzammilAK
New Contributor
Dear All,

I need to programmatically read .MXT template file (which contains layout view) and preview it in windows form. I am programming arcgis desktop in .net (C#).

There is a pagelayoutcontrol in Engine, but i do not want to use Engine. I want to use only Desktop.

Similar to what we have in ArcCatalog. When we select .mxt or .mxd, ArcCatalog shows the preview in 'Preview' window.

My requirement is to show only .mxt in preview which is present in windows form.

Please help.

Thank you.

Regards
Muzammil
0 Kudos
2 Replies
SaqibMehmood
New Contributor
I believe you should be able to use the PageLayout control in the Window Form while you launch it from ArcGIS Desktop.
0 Kudos
MuzammilAK
New Contributor
An Update:

It is fine if i can do above task in dockable window instead of windows forms.

@saqib:

Thank you for your inputs.
But i believe the PageLayoutControl is Engine control. Please correct me if i am wrong. It requires Engine developer's license.

Is there any such control in ArcMap(ArcInfo)?...

As already mentioned in previous post, the constraint is that i cannot use ArcGIS Engine based controls.

Please guide me..
Thank you.

Regards
Muzammil
0 Kudos