Zoom size for a sheet in calc

Java, C++, C#, Delphi... - Using the UNO bridges
Locked
Manikandan
Posts: 44
Joined: Tue Jun 21, 2011 11:40 am

Zoom size for a sheet in calc

Post by Manikandan »

Dear all,

I am developing a VB Application to export data into a calc file. Here, I need to set the zoom size for a sheet. I have written the following code.

Code: Select all

        Dim oController As Object
        Set oController = oDoc.getCurrentController().viewsettings
        oController.ZoomType = 3
        oController.ZoomValue = 75
It does not set the size for a sheet . it set for the whole doucment.

Any help would be appreciated.

Mani

:crazy:

Please don't double-post the same question in different areas of the forum. I have locked this thread. Please continue the conversation in your previous thread. See: The Survival guide (TheGurkha, Moderator)
Openoffice.org 2.3, Windows XP
Locked