How to set programatically for re-layout page options of design menu to set circular layout as default using java

Hi sir,

I am tried to get circular page layout as default. actually i am getting the circular layout after set the options of re-layout page of DESIGN. BUT i need it from java program.

here my code is

	// set layout options
	LayoutOptions compactTreeOptions = new LayoutOptions();
	compactTreeOptions.setLayoutStyle(LayoutStyle.CIRCULAR);
	compactTreeOptions.setEnlargePage(true);

But, its not affected.

Thanks in advance.

Unable to apply CIRCULAR LayoutStyle to diagram from java program. it should be come as default means while open the diagram have to come in circular Layout without making changes in visio file manually.

Thanks in advance.

@gopi17242,
Kindly send the complete details of the use case, including stencil file (if any), Visio drawing and code. We will investigate and share our findings with you. Your response is awaited.