You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: api/Project.chart.getchartelement.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,9 @@ _expression_ A variable that represents a **[Chart](Project.Chart.md)** object.
26
26
|:-----|:-----|:-----|:-----|
27
27
|_x_|Required|**Long**|The X coordinate of the chart element.|
28
28
|_y_|Required|**Long**|The Y coordinate of the chart element.|
29
-
|_ElementID_|Required|**Long**|When the **GetChartElement** method returns, _ElementID_ contains the **Office.XLChartItem** value of the chart element at the specified coordinates. For more information, see [Remarks](#Remarks).|
30
-
|_Arg1_|Required|**Long**|When the method returns, _Arg1_ contains information related to the chart element. For more information, see [Remarks](#Remarks).|
31
-
|_Arg2_|Required|**Long**|When the method returns, _Arg2_ contains information related to the chart element. For more information, see [Remarks](#Remarks).|
29
+
|_ElementID_|Required|**Long**|When the **GetChartElement** method returns, _ElementID_ contains the **Office.XLChartItem** value of the chart element at the specified coordinates. For more information, see [Remarks](#remarks).|
30
+
|_Arg1_|Required|**Long**|When the method returns, _Arg1_ contains information related to the chart element. For more information, see [Remarks](#remarks).|
31
+
|_Arg2_|Required|**Long**|When the method returns, _Arg2_ contains information related to the chart element. For more information, see [Remarks](#remarks).|
Copy file name to clipboardexpand all lines: outlook/How-to/Items-Folders-and-Stores/import-appointment-xml-data-into-outlook-appointment-objects-outlook.md
+11-14
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ This topic shows how to read appointment data formatted in XML, save the data to
16
16
17
17
|Helmut Obertanner provided the following code samples. Helmut is a [Microsoft Most Valuable Professional](https://mvp.microsoft.com/) with expertise in Microsoft Office development tools in Microsoft Visual Studio and Microsoft Office Outlook.|
18
18
19
-
The following managed code samples are written in C# and Visual Basic. To run a .NET Framework managed code sample that needs to call into a Component Object Model (COM), you must use an interop assembly that defines and maps managed interfaces to the COM objects in the object model type library. For Outlook, you can use Visual Studio and the Outlook Primary Interop Assembly (PIA). Before you run managed code samples for Outlook 2013, ensure that you have installed the Outlook 2013 PIA and have added a reference to the Microsoft Outlook 15.0 Object Library component in Visual Studio. You should use the following code samples in the `ThisAddIn` class of an Outlook add-in (using Office Developer Tools for Visual Studio). The **Application** object in the code must be a trusted Outlook **Application** object provided by `ThisAddIn.Globals`. For more information about using the Outlook PIA to develop managed Outlook solutions, see the **Welcome to the Outlook Primary Interop Assembly Reference** on MSDN.
19
+
The following managed code samples are written in C# and Visual Basic. To run a .NET Framework managed code sample that needs to call into a Component Object Model (COM), you must use an interop assembly that defines and maps managed interfaces to the COM objects in the object model type library. For Outlook, use Visual Studio and the Outlook Primary Interop Assembly (PIA). Before you run managed code samples for Outlook 2013, ensure that you've installed the Outlook 2013 PIA and have added a reference to the Microsoft Outlook 15.0 Object Library component in Visual Studio. Use the following code samples in the `ThisAddIn` class of an Outlook add-in (using Office Developer Tools for Visual Studio). The **Application** object in the code must be a trusted Outlook **Application** object provided by `ThisAddIn.Globals`.
20
+
For more information about using the Outlook PIA to develop managed Outlook solutions, see the [Welcome to the Outlook Primary Interop Assembly Reference](/office/client-developer/outlook/pia/welcome-to-the-outlook-primary-interop-assembly-reference.md).
20
21
The following code samples contain the `CreateAppointmentsFromXml` method of the `Sample` class, implemented as part of an Outlook add-in project. Each project adds a reference to the Outlook PIA, which is based on the **Microsoft.Office.Interop.Outlook** namespace.
21
22
The `CreateAppointmentsFromXml` method accepts two input parameters, _application_ and _xml_:
22
23
@@ -26,13 +27,13 @@ The `CreateAppointmentsFromXml` method accepts two input parameters, _applicatio
26
27
27
28
|**Appointment data**|**Delimiting XML tag**|
28
29
|:-----|:-----|
29
-
|Entire set of appointment data|_appointments_|
30
-
|Each appointment in the set|_appointment_|
31
-
|Start time of an appointment|_starttime_|
32
-
|End time of an appointment|_endtime_|
33
-
|Title of an appointment|_subject_|
34
-
|Location of an appointment|_location_|
35
-
|Details of an appointment|_body_|
30
+
|Entire set of appointment data|<appointments>|
31
+
|Each appointment in the set|<appointment>|
32
+
|Start time of an appointment|<starttime>|
33
+
|End time of an appointment|<endtime>|
34
+
|Title of an appointment|<subject>|
35
+
|Location of an appointment|<location>|
36
+
|Details of an appointment|<body>|
36
37
37
38
The following example shows input data for the _xml_ parameter.
38
39
@@ -64,13 +65,11 @@ The following example shows input data for the _xml_ parameter.
64
65
65
66
```
66
67
67
-
The `CreateAppointmentsFromXml` method uses the Microsoft COM implementation of the XML Document Object Model (DOM) to load and process the XML data that _xml_ provides. `CreateAppointmentsFromXml` first checks whether _xml_ specifies a valid source of XML data. If so, it loads the data into an XML document, **DOMDocument**. Otherwise, `CreateAppointmentsFromXml` throws an exception. For more information about the XML DOM, see [DOM](../../../api/overview/Outlook.md).
68
-
For each appointment child node delimited by the <appointment> tag in the XML data, `CreateAppointmentsFromXml` looks for specific tags, uses the DOM to extract the data, and assigns the data to corresponding properties of an **AppointmentItem** object: **[Start](../../../api/Outlook.AppointmentItem.Start.md)**, **[End](../../../api/Outlook.AppointmentItem.End.md)**, **[Subject](../../../api/Outlook.AppointmentItem.Subject.md)**, **[Location](../../../api/Outlook.AppointmentItem.Location.md)**, and **[Body](../../../api/Outlook.AppointmentItem.Body.md)**. `CreateAppointmentsFromXml` then saves the appointment to the default calendar.
68
+
The `CreateAppointmentsFromXml` method uses the Microsoft COM implementation of the XML Document Object Model (DOM) to load and process the XML data that _xml_ provides. `CreateAppointmentsFromXml` first checks whether _xml_ specifies a valid source of XML data. If so, it loads the data into an XML document, **DOMDocument**. Otherwise, `CreateAppointmentsFromXml` throws an exception. For more information about the XML DOM, see [DOM](../../../api/overview/Outlook.md).
69
+
For each appointment child node delimited by the _appointment_ tag in the XML data, `CreateAppointmentsFromXml` looks for specific tags, uses the DOM to extract the data, and assigns the data to corresponding properties of an **AppointmentItem** object: **[Start](../../../api/Outlook.AppointmentItem.Start.md)**, **[End](../../../api/Outlook.AppointmentItem.End.md)**, **[Subject](../../../api/Outlook.AppointmentItem.Subject.md)**, **[Location](../../../api/Outlook.AppointmentItem.Location.md)**, and **[Body](../../../api/Outlook.AppointmentItem.Body.md)**. `CreateAppointmentsFromXml` then saves the appointment to the default calendar.
69
70
`CreateAppointmentsFromXml` uses the **[Add](../../../api/overview/Outlook.md)** method of the **List( _type_)** class in the **System.Collections.Generic** namespace to aggregate these **AppointmentItem** objects. When the method has processed all the appointments in the XML data, it returns the **AppointmentItem** objects in an array.
Copy file name to clipboardexpand all lines: word/Concepts/Customizing-Word/creating-frames-pages.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ f1_keywords:
5
5
- vbawd10.chm5285976
6
6
ms.prod: word
7
7
ms.assetid: 0245564e-b2df-83cd-1e32-e63079970dc1
8
-
ms.date: 06/08/2019
8
+
ms.date: 02/06/2020
9
9
ms.localizationpriority: medium
10
10
---
11
11
@@ -18,7 +18,7 @@ Frames and frames pages are created with a series of HTML tags. The Visual Basic
18
18
19
19
## Frames pages in HTML
20
20
21
-
In HTML, frames pages and the frames they contain are built using a hierarchical set of <FRAMESET> and <FRAME> tags. A frameset can contain both frames and other framesets. For example, the following HTML creates a frameset with a frame on top and a frameset immediately below it. That frameset contains a frame on the left and a frameset on the right. That frameset contains two frames, one on top of the other.
21
+
In HTML, frames pages and the frames they contain are built using a hierarchical set of <FRAMESET> and <FRAME> tags. A frameset can contain both frames and other framesets. For example, the following HTML creates a frameset with a frame on top and a frameset immediately below it. That frameset contains a frame on the left and a frameset on the right. That frameset contains two frames, one on top of the other.
22
22
23
23
```xml
24
24
<FRAMESETROWS="100, *">
@@ -33,11 +33,12 @@ In HTML, frames pages and the frames they contain are built using a hierarchical
33
33
</FRAMESET>
34
34
```
35
35
36
-
**Note** To better understand the preceding HTML example, paste the example into a blank text document, rename the document "framespage.htm", and open the document in Word or in a Web browser.
36
+
>[NOTE]
37
+
> To better understand the preceding HTML example, paste the example into a blank text document, rename the document "framespage.htm", and open the document in Word or in a Web browser.
37
38
38
39
## The Frameset Object
39
40
40
-
The **[Frameset](../../../api/Word.Frameset.md)** object encompasses the functionality of both tags. Each **Frameset** object is either of type **wdFramesetTypeFrameset** or **wdFramesetTypeFrame**, which represent the HTML tags <FRAMESET> and <FRAME> respectively. Properties beginning with "Frameset" apply to **Frameset** objects of type **wdFramesetTypeFrameset** (**[FramesetBorderColor](../../../api/Word.Frameset.FramesetBorderColor.md)** and **[FramesetBorderWidth](../../../api/Word.Frameset.FramesetBorderWidth.md)** . Properties beginning with "Frame" apply to **Frameset** objects of type **wdFramesetTypeFrame** (**[FrameDefaultURL](../../../api/Word.Frameset.FrameDefaultURL.md)**, **[FrameDisplayBorders](../../../api/Word.Frameset.FrameDisplayBorders.md)**, **[FrameLinkToFile](../../../api/Word.Frameset.FrameLinkToFile.md)**, **[FrameName](../../../api/Word.Frameset.FrameName.md)**, **[FrameResizable](../../../api/Word.Frameset.FrameResizable.md)**, and **[FrameScrollBarType](../../../api/Word.Frameset.FrameScrollbarType.md)**).
41
+
The **[Frameset](../../../api/Word.Frameset.md)** object encompasses the functionality of both tags. Each **Frameset** object is either of type **wdFramesetTypeFrameset** or **wdFramesetTypeFrame**, which represent the HTML tags <FRAMESET> and <FRAME> respectively. Properties beginning with "Frameset" apply to **Frameset** objects of type **wdFramesetTypeFrameset** (**[FramesetBorderColor](../../../api/Word.Frameset.FramesetBorderColor.md)** and **[FramesetBorderWidth](../../../api/Word.Frameset.FramesetBorderWidth.md)** . Properties beginning with "Frame" apply to **Frameset** objects of type **wdFramesetTypeFrame** (**[FrameDefaultURL](../../../api/Word.Frameset.FrameDefaultURL.md)**, **[FrameDisplayBorders](../../../api/Word.Frameset.FrameDisplayBorders.md)**, **[FrameLinkToFile](../../../api/Word.Frameset.FrameLinkToFile.md)**, **[FrameName](../../../api/Word.Frameset.FrameName.md)**, **[FrameResizable](../../../api/Word.Frameset.FrameResizable.md)**, and **[FrameScrollBarType](../../../api/Word.Frameset.FrameScrollbarType.md)**).
41
42
42
43
## Traversing the Frameset Object Hierarchy
43
44
@@ -224,4 +225,4 @@ Sub FramesetExample2()
224
225
EndSub
225
226
```
226
227
227
-
[!include[Support and feedback](~/includes/feedback-boilerplate.md)]
228
+
[!include[Support and feedback](~/includes/feedback-boilerplate.md)]
0 commit comments