Home » Asp.net

Excel Automation: Unable to set the Orientation property of the PageSetup class

I have a web application that generates various reports in Excel or in Word and then downloads them to the client where they can be printed.  Even though there is nothing being printed on the web server, I want to properly format the reports in terms of page orientation, etc.  Everything is working great with Word.

In Excel, whenever I try to change the page orientation to Landscape I get:

COMException (0x800a03ec): Unable to set the Orientation property of the PageSetup class

The single line of code that is causing this is:

mySheet.PageSetup.Orientation = Microsoft.Office.Interop.Excel.XlPageOrientation.xlLandscape;

If I comment out the line everything else works like a champ.  The code also works fine when I test it on my local computer (without the line commented out).

On the server, the web application runs with the username CCSUser.  I can log onto the server using that username, bring up Excel manually, create some sort of spreadsheet, and set the orientation of that spreadsheet to Landscape.  It works fine.  It just does not work when I try to do it from my C# code.

There is no physical printer attached to the server.  The default printer for the account used by the web application is Microsoft XPS Document Writer.  The security permissions on that printer allow me to Print, Manage the Printer, and Manage Documents.

We had the same problem before our recent upgrade from Windows Server 2000 to 2008.  I had hoped that it might magically go away when we upgraded.  It didn't.

What am I doing wrong?





In the most recent release of a new service, we have a section of code that creates an Excel document and saves it in a location.  Nothing super complicated.  This service uses the 2003 Excel Interops (not my choice -- it's what is passed down to us from above as a requirement) to do this.

Previous to this weekend's install, the service was installed on Server 2003 and worked perfectly.  The production version that it lives on, however, is Server 2008.  Any time this service tries to create an Excel document it thows the error Unable to set the Orientation property of the PageSetup class.  It was not giving this error on 2003.

After searching online the only things I can find tell me to install a default printer.  Which I did.  It did not fix anything.  The 2003 server didn't have any installed anyway, so I don't see this as the hinderance.

Is this something weird with 2008 not installing the ASPNET user?  Maybe something else that I maybe don't even know to guess?

If anyone has any other ideas, they would be greatly appreciated.  At this point I'm at a loss as to what to even try.



I'm creating an Excel workbook with multiple worksheets from within Access using automation. Not knowing Excel, I recorded a macro to set various properties when the spreadsheet is printed - landscape, fit to 1 page wide by however many tall, set margins, etc.

When I replayed the macro from Excel it hung. It also hung up when I copied the code over to Access and ran it from there (changing the references as needed).




I have created the Class called MyControl which extends System.Windows.Controls.Control, If I assign the instance of MyControl class into WpfPropertyGrid(Codeplex Control)'s instance property, it takes MyControl as well as System.Windows.Controls.Control Properties.

How to set Browsable(false) for the base class properties. Because lot of properties in Control class.


Shoud I override all the properties in derived class and, will set [Browsable(false)] all the overridden properties?

Can any one help me?


I have a class that must be instantiated to house user state objects. It has various auto-implemented properties that keep track of things like what entity is currently being worked with, the mode the application is in and so on. However, I have a question about setting the default property values upon class instantiation.

I have properties that are non-static properties because they must keep separate state for each instance of the class. So, in this case each time a new user access the application, a new instance of this state manager is created and the properties house that users values from then on. I also have a default constructor that sets the initial values for the properties when the class is first instantiated.

The problem is that I can't set the property values directly because they're non-static. However, if I instantiate the class in two different places (e.g. objA = new ClassA, objB = new ClassA, ...), how could I know what the class is being instantiated as to set its default values through the instance of the class?

So, the big question is how should I set default property values on a non-static class?


My class uses a dataset and a property to "get" and "set" the rows in a SQL table called GROUPS into a class table called tblGroups.  In my constructor I select the contents of the GROUPS datatable and use the "Set" code in the property to populate tblGroups as follows"

Here is the property in the class:

    Private tblGroups As DataTable = New DataTable

    Public Property Groups() As DataTable
            Groups = tblGroups
        End Get
        Set(ByVal value As DataTable)
            tblGroups = value
        End Set
    End Property


Constructor Code:

Groups = ds.Tables("Groups")



When instantiating a new class object the set code above does a fine job of loading any existing records into my tblGroups table.  Now I wish to add additional records into that table.  What is the best way to accomplish this?

Do I need to create a seperate method to handle this, or should I change the existing "set" code somehow? If the answer is to change the "set" code, can I add additional byVal variables? If so, then how do I accomplish that without causing problems to my constructor code:Groups = ds.Tables("Groups") ?

I am new to datasets and classes.  Thanks in advance for any assistance!


I'm trying to programmatically set the property of a control on my Form AFTER I've proccessed an update command using the FormView, but it's not working. 

In my example below, I have a basic FormView with only a TextBox and Label in its EditItemTemplate.  The FormView uses an AccessDataSource.  The TextBox is bound to the datasource, but the label is not.  What I'm trying to do is update the value in the TextBox (as well as its associated data stored in the database), and then change the Text property of the Label. (*Note: that I using the label purely as an example. The point is I can't see to set any control's property after an update).

I initally thought it had something to do with the "Page.IsPostBack", but even after trying to adjust my code for that, its still not working.

I've tried change the Text property during the Page.IsPostBack during Page_Load event. I've tried setting the Label's EnabledViewState property to True and to False. I've tried using the FormView's OnItemUpdating and OnItemUpdated events. I've tried using the DataSource's OnUpdating and OnUpdated events.

Nothing seems to work. Any suggestions?

Here's my sample code and Html:

<script language="VB" runat="server">
Dim FRIENDID As Integer
Dim MyLabel As Label

Sub Page_Load(Sender As Object, e As EventArgs) Handles MyBase.Load
	FRIENDID = Request.QueryString("i")
	MyLabel = FormView1.FindControl("Label1")
	MyLabel.Text = "Starting text for MyLabel"

	If Not Page.IsPostBack Then 
		MyLabel.Text = "Updated Text for MyLabel"
	End If
End Sub

<form runat="server" id="Form1" method="post" encType="multipart/form-data">

	Width="100%" >


		<p><asp:LinkButton runat="server" id="LinkButton1" Text="Update" CommandName="Update" CausesValidation="True" /></p>

		<p>Name: <asp:TextBox runat="server" id="TextBox1" Text='<%# Bind("FRIENDNAME") %>' Width="300px" /></p>

		<p>Text: <asp:Label runat="server" id="Label1" Text="" Width="300px" BorderWidth="1px" /></p>
	DataFile="<%$ AppSettings:dbString %>" 
		<asp:querystringparameter Type="Int32" Name="FRIENDID" QueryStringField="i" />
		<asp:parameter Type="String" Name="FRIENDNAME" />
		<asp:parameter Type="Int32" Name="FRIENDID" />


When I add a WebPart to a page, I need to set a Property in the class that builds the WebPart.

In the CatalogZone, I declare:

    <My:XmlCatalogPart runat="server" id="CatalogPart1" />

In the CatalogPart1 class, I instantiate MyWebPart:

Dim MyWebPart As New Site_1_WebPartsNamespace.MapPpClass()
MyWebPart.PagePartID = Convert.ToString(description.ID)
MyWebPart.Title = Convert.ToString(description.Title)
MyWebPart.ZoneConWidth = ZoneConWidth
Return MyWebPart

MyWebPart.PagePartID contains the correct value. 

This calls MyWebPart which contains the property:

Private vPagePartID As String
<Personalizable(True)> _
Public Property PagePartID() As String
       Return vPagePartID
   End Get
   Set(ByVal value As String)
        vPagePartID = value
    End Set
End Property

but vPagePartID is equal to nothing.

What am I doing wrong?

How do I get the value of PagePartID to MyWebPart?

Your help would be much appreciated (any snippets in VB please).

Thanking you in anticipation.




I have ajax accordion with 6 panes with an user control inside each of it.
 In the first pane I have a form view user control and have a modalpopup to
display error message. The same method is used in all other panes.

On page load I was able to set the label text property and it properly shows in modal popup.

However whenever I do some validation and update label text property, the modal popup
shows up but the label text property is not updated. It works in all other panes.

The only difference is the user control in the pane is inside of a update panel. If I remove the

update panel every thing works fine. But I need the update panel to avoid full post back.

How do I set the label text property inside of a modal popup.

Sections of code below:




protected void Page_Load(object sender, EventArgs e)
        lblNewMessage.Text = "Error";

 protected void FormView1_ItemCommand(object sender, FormViewCommandEventArgs e)
	 if (!doValidate() ) { return; }
    public bool doValidate()
        if (!psClassUtil.check_isnull_or_empty(firstName, 30, "N"))
            lblNewMessage.Text = "First Name is required (Maximum 30 characters)."; // does not work
            return false;

<asp:UpdatePanel ID="updPnlApplication" runat="server">
    <asp:FormView ID="FormView1" runat="server"  
<asp:Panel ID="pnlPopupMessage" runat="server" style="display:none;  >
       <asp:Button ID="btnShowPopupMessage" runat="server" style="display:none"   />
       <asp:ModalPopupExtender ID="mdlPopupMessageExtender" runat="server"
                PopupDragHandleControlID="popupMessageHeader" CancelControlID="ButtonMsgClose">              
            <asp:Label ID="lblNewMessage" runat="server"  ></asp:Label>
            <asp:Button ID="ButtonMsgClose" Text="Close" runat="server"  >




Hi Guys,

I am having this configuation issue which I can't seem to resolve. When I am deploying my SP2010 solution to my farm Ii ge thi error mesage when I deploy a solution which contains output dll references.

Error 1 The OutputPath property is not set for project 'XXX.SharePoint2010.KnowledgeBase.Helper.csproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Release'  Platform='AnyCPU'.  This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. KnowledgeBaseSite

Any help would be appreciated.





I am re-posting this question again, but now in the correct forum.

Can I set the SocketClientAccessPolicyProtocol property from the wcf client proxy class generated from slsvcutil.exe for example?

Here is the original post (I did not receive any replies yet):


And here is the bug I filed with microsoft because I could not find a way to do this:


Any ideas?

Thank you.


Hi all,

I have my ListView control populated with a list of customer information. I am trying to set a ListViewItem Tag property to a Class when I select on a particulate customer from the list. However, I get a null value from the Tag property (lvItem.Tag). I appreciate if anyone could provide me some pointers of what I am missing here. Below are the code-behind and XAML code:


private void _listView1_MouseDoubleClick(object sender, MouseButtonEventArgs e)
    foreach (object item in _listView1.ItemsSource)
       ListViewItem lvItem = _listView1.ItemContainerGenerator.ContainerFromItem(item) as ListViewItem;
       CustomerClass mySearch = lvItem.Tag as CustomerClass;

XAML code:

<ListView Margin="20,0,20,30" x:Name="_listView1" Grid.ColumnSpan="3" 
ItemsSource="{Binding Path=CustomerOrder}" Height="220" 
VerticalAlignment="Bottom" MouseDoubleClick="_listView1_MouseDoubleClick">
       <GridViewColumn x:Name="colOrderID" Width="100" Header="Order ID" 
DisplayMemberBinding="{Binding Path=OrderID}" />
       <GridViewColumn x:Name="colLastName" Width="140" Header="Last Name" 
DisplayMemberBinding="{Binding Path=LastName}" />
       <GridViewColumn x:Name="colFirstName" Width="140" Header="First Name" 
DisplayMemberBinding="{Binding Path=FirstName}" />






I'm looking at an application I just inherited and I was interested int he way a class was being used.

With clsPlot
  .Table_Name = "Plot_Plant_A"
  .Product_Code = Me.lstLines.Column(3)
  .sinterval = cboInterval
  .ifrequent = cboFrequent
  Call .Plot(mdteStart, sfrm)
End With

in this code, some properties are set before the method is called while others are passed as parameters.

I've since added an initialise to the class to set a default value for the properties which are required by the method but are usually the same. In this case the interval and frequency.

However I've made the product code a parameter of the method as it will be different every time the method is called.

So in essence I'm using properties for defaulted values and parameters for required values.

Anyone got any better suggestions?




IN debug mode, I suddenly get the following message:

System.MissingMemberException was unhandled
  Message="Public member 'get_Range' on type 'Worksheet' not found."
       at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
       at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)

I check in the object\debug directory I do still  have

  Interop.Excel.dll 1KB

I also tried removing the ref and added reference path to microsoft primary assembly I previously download
where I have  Microsoft.Office.Interop.Excel.dll
 plus all other primary interop assmebly for microsoft office of the version I am using
cleaned teh solution, build, reboot. but still no luck

However C# assemblies seem still functioning with excel interop

How to set landscape orientation while printing through javascript in IE 7 and IE 8. I am using window.print function to do so.

Hi all,

   i need to set the prineter orientation in VB.NET how to do this?

   Is there any codes?





I try to change some printer settings using the win32 api OpenPrinter,

GetPrinter and SetPrinter in VB.Net application.I copied most of the code from this or

related newsgroups. However, OpenPrinter, GetPrinter and ClosePrinter

works so far but I cannot change the printer settings. SetPrinter

returns the error code ACCESS DENIED. I know I have to deal with the

desired access mask in the _DEFAULT_PRINTER structure when calling

OpenPrinter. Unfortunaltely the declaration of the DEFAULT_PRINTER

structure or class I found on the internet doesn't work with the

OpenPrinter function.



  Public Structure DEVMODE

        Public dmDeviceName As String

        Dim dmSpecVersion As Short

        Dim dmDriverVersion As Short

        Dim dmSize As Short

        Dim dmDriverExtra As Short

        Dim dmFields As Integer

        Dim dmOrientation As Short

        Dim dmPaperSize As Short

        Dim dmPaperLength As Short

        Dim dmPaperWidth As Short

        Dim dmScale As Short

        Dim dmCopies As Short

        Dim dmDefaultSource As Short

        Dim dmPrintQuality As Short

        Dim dmColor As Short

        Dim dmDuplex As Short

        Dim dmYResolution As Short

        Dim dmTTOption As Short

        Dim dmCollate As Short

        Public dmFormName As String

        Dim dmUnusedPadding As Short

        Dim dmBitsPerPel As Short

        Dim dmPelsWidth As Integer

        Dim dmPelsHeight As Integer

        Dim dmDisplayFlags As Integer

        Dim dmDisplayFrequency As Integer

    End Structure


    Private Structure PRINTER_INFO_2

        Dim pServerName As Integer

        Dim pPrinterName As Integer

        Dim pShareName As Integer

        Dim pPortName As Integer

        Dim pDriverName As Integer

        Dim pComment As Integer

        Dim pLocation As Integer

        Dim pDevMode As IntPtr

        Dim pSepFile As Integer

        Dim pPrintProcessor As Integer

        Dim pDatatype As Integer

        Dim pParameters As Integer

        Dim pSecurityDescriptor As Integer

        Dim Attributes As Integer

        Dim Priority As Integer

        Dim DefaultPriority As Integer

        Dim starttime As Integer

        Dim UntilTime As Integer

        Dim Status As Integer

        Dim cJobs As Integer

        Dim AveragePPM As Integer

    End Structure


    Public Structure PRINTER_DEFAULTS

        Dim pDatatype As Long

        Dim pDevMode As DEVMODE

        Dim DesiredAccess As Long

    End Structure


    Public Structure PRINTER_INFO_5

        Dim pPrinterName As String

        Dim pPortName As String

        Dim Attributes As Integer

        Dim DeviceNotSelectedTimeout As Integer

        Dim TransmissionRetryTimeout As Integer

    End Structure


    'New enumerations for orientation change


    Public Enum PrinterOrientationConstants

        OrientPortrait = 1

        OrientLandscape = 2

    End Enum


    Private Const DM_IN_BUFFER As Integer = 8

    Private Const DM_OUT_BUFFER As Integer = 2

    Private Const DM_ORIENTATION As Integer = &H1S



    Public Const PRINTER_ACCESS_USE = &H8




    'Public Declare Function OpenPrinter Lib "winspool.drv" Alias "OpenPrinterA" (ByVal pPrinterName As String, ByRef phPrinter As IntPtr, ByVal pDefault As Integer) As Long

    Public Declare Function OpenPrinter Lib "winspool.drv" Alias "OpenPrinterA" (ByVal pPrinterName As String, ByRef phPrinter As IntPtr, ByRef pDefault As PRINTER_DEFAULTS) As Long

    Declare Auto Function GetPrinter Lib "winspool.drv" Alias "GetPrinterA" (ByVal hPrinter As IntPtr, ByVal Level As Integer, ByVal pPrinter As IntPtr, ByVal cbBuf As Integer, ByRef pcbNeeded As Integer) As Boolean

    Public Declare Function SetPrinter Lib "winspool.drv" Alias "SetPrinterA" (ByVal hPrinter As IntPtr, ByVal ByValdwLevel As Int32, ByVal pPrinter As IntPtr, ByVal dwCommand As Int32) As Boolean

    Private Declare Function ClosePrinter Lib "winspool.drv" (ByVal hPrinter As Long) As Long


    Private Declare Function DocumentProperties Lib "winspool.drv" Alias "DocumentPropertiesA" (ByVal hWnd As IntPtr, ByVal hPrinter As IntPtr, ByVal pDeviceName As String, ByRef pDevModeOutput As IntPtr, ByRef pDevModeInput As IntPtr, ByVal fMode As IntPtr) As Integer




 Private Sub SetOrientaion()

        Dim sPrnName As String

        Dim hPrinter As New System.IntPtr()

        Dim objPrintDocument As New Printing.PrintDocument

        Dim BytesNeeded As Integer

        'Dim hPrinterInfo As IntPtr

        Dim pBuf As IntPtr

        Dim pi2 As PRINTER_INFO_2

        Dim pDev As New DEVMODE

        Dim pd As PRINTER_DEFAULTS = Nothing

        Dim nRet As Integer

        Dim ptrDM As IntPtr


            pd.DesiredAccess = PRINTER_ALL_ACCESS

            sPrnName = objPrintDocument.DefaultPageSettings.PrinterSettings.PrinterName

            If OpenPrinter(sPrnName, hPrinter, pd) Then

                Call GetPrinter(hPrinter, 2, 0, 0, BytesNeeded)


                If Err.LastDllError <> ERROR_INSUFFICIENT_BUFFER Then


                    Exit Sub

                End If



                'ReDim bPrinterInfo2(BytesNeeded)

                'pBuf = Runtime.InteropServices.Marshal.AllocHGlobal(BytesNeeded)

                pBuf = Marshal.AllocCoTaskMem(BytesNeeded)

                If GetPrinter(hPrinter, 2, pBuf, BytesNeeded, BytesNeeded) = 0 Then


                    Exit Sub

                End If

                'hPrinterInfo = Runtime.InteropServices.Marshal.AllocHGlobal(BytesNeeded)

                'Call GetPrinter(hPrinter, 2, Buffer(0), BytesNeeded, BytesUsed)

                'Runtime.InteropServices.Marshal.Copy(AddofLongValue, ByteArray, 0, 4)

                pi2 = CType(Marshal.PtrToStructure(pBuf, GetType(PRINTER_INFO_2)), PRINTER_INFO_2)


                If (pi2.pDevMode = IntPtr.Zero) Then

                    ' If GetPrinter didn't fill in the DEVMODE, try to get it by calling

                    ' DocumentProperties...

                    'get the size of the devmode structure

                    nRet = CType(DocumentProperties(IntPtr.Zero, hPrinter, sPrnName, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero), Integer)

                    If (nRet <= 0) Then

                        Exit Sub

                    End If

                    ptrDM = Marshal.AllocCoTaskMem(nRet)

                    nRet = CType(DocumentProperties(IntPtr.Zero, hPrinter, sPrnName, ptrDM, IntPtr.Zero, CType(DM_OUT_BUFFER, IntPtr)), Integer)

                    If ((nRet < 0) OrElse (ptrDM = IntPtr.Zero)) Then

                        'Cannot get the DEVMODE structure.

                        Exit Sub

                    End If

                    pi2.pDevMode = ptrDM

                End If


                pDev = CType(Marshal.PtrToStructure(pi2.pDevMode, GetType(DEVMODE)), DEVMODE)

                pDev.dmOrientation = PrinterOrientationConstants.OrientLandscape

                Marshal.StructureToPtr(pDev, pi2.pDevMode, True)

                'nRet = CType(DocumentProperties(IntPtr.Zero, hPrinter, sPrnName, pi2.pDevMode, pi2.pDevMode, CType((DM_IN_BUFFER Or DM_OUT_BUFFER), IntPtr)), Integer)

                'nRet = CType(DocumentProperties(0, hPrinter, sPrnName, pi2.pDevMode, 0, DM_OUT_BUFFER), Integer)

                'If (nRet < 0) Then

                '    'Unable to set duplex setting to this printer.

                '    Exit Sub

                'End If

                Marshal.StructureToPtr(pi2, pBuf, True)

                'Marshal.StructureToPtr(pi2, pi2.pDevMode, True)

                'Call SetPrinter(hPrinter, 2, pBuf, 0)


                If Not SetPrinter(hPrinter, 2, pBuf, 0) Then


                    Throw New System.ComponentModel.Win32Exception(Marshal.GetLastWin32Error())

                End If




            End If

        Catch ex As Exception


        End Try


So I initialize an entity and then attempt to set it's orientation.

I want to rotate the entity 180 degrees about the vertical axis (Y axis), so this is simple:

            Entity.State.Pose.Orientation = new Quaternion(0, 1, 0, 0);

This should do the trick, but it doesn't :(. This only rotates 90 degrees about the vertical axis. I then tested:

           Entity.State.Pose.Orientation = new Quaternion(0, 1 / (float)Math.Sqrt(2), 0, 1 / (float)Math.Sqrt(2));

This should be a rotation of 90 degrees about the vertical axis, and it is!

Both of these lines of code yield identical rotation, which should not be possible. I have tested this about each of the standard axis (X-axis, Y-axis, Z-axis) and they all yeild the same result. I can't get a rotation of more than 90 degrees.

Is there some inherent restriction on rotation angle, limiting it to 90 degrees?

How would I go about setting an initial Orientation that is 180 degrees rotated from the default position?


I have created a derived class from a base class and have added the derived class objects to the base class collection.Later when i try to cast the collection objects to derived class,it is throwing error and i am not able to get my override methods and properties.How could i get around this.?

I am trying to override the stroke class in wpf inkcanvas.But the collection available is of base ink collection.So after serializing ans desalinizing,the new properties that i added is not accessible.Pls help


Forgive my greeness. I have just created a class in c# that inherits from Form. I Added 3 properties to the class. How do I get those public properties to show up in the designer properties box?




Seems I'm missing some important methods when I generate classes for excel 2007 using the "MFC Class from Typelib" feature.


As an example the "CWorkbooks" class only has 6 methods in it and the one I really need "Add" is not there.  Whats with this stuff? Seems like it does not work worth a #$#$#. No error messages that I can find.


Following is what was generated for CWorkbooks.

// Machine generated IDispatch wrapper class(es) created with Add Class from Typelib Wizard

#import "C:\\Program Files\\Microsoft Office\\Office12\\EXCEL.EXE" no_namespace
// CWorkbooks wrapper class

class CWorkbooks : public COleDispatchDriver
    CWorkbooks(){} // Calls COleDispatchDriver default constructor
    CWorkbooks(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
    CWorkbooks(const CWorkbooks& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

    // Attributes

    // Operations

    // IPanes methods
    Application get_Application()
        Application result;
        InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
        return result;
    XlCreator get_Creator()
        XlCreator result;
        InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
        return result;
    LPDISPATCH get_Parent()
        LPDISPATCH result;
        InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
        return result;
    long get_Count()
        long result;
        InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
        return result;
    Pane get_Item(long Index)
        Pane result;
        static BYTE parms[] = VTS_I4 ;
        InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, Index);
        return result;
    Pane get__Default(long Index)
        Pane result;
        static BYTE parms[] = VTS_I4 ;
        InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, Index);
        return result;

    // IPanes properties







<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure