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
The code starts by creating an integer variable, **slidesCount**, to hold the number of slides. The code
90
-
then opens the specified presentation by using the [PresentationDocument.Open](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.packaging.presentationdocument.open.aspx) method and
90
+
then opens the specified presentation by using the [PresentationDocument.Open](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.presentationdocument.open.aspx) method and
91
91
indicating that the document should be open for read-only access (the
92
92
final **false** parameter value). Given the
93
-
open presentation, the code uses the [PresentationPart](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.packaging.presentationdocument.presentationpart.aspx) property to navigate to
93
+
open presentation, the code uses the [PresentationPart](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.presentationdocument.presentationpart.aspx) property to navigate to
94
94
the main presentation part, storing the reference in a variable named
95
95
**presentationPart**.
96
96
@@ -116,11 +116,11 @@ the main presentation part, storing the reference in a variable named
If the presentation part reference is not null (and it will not be, for
121
121
any valid presentation that loads correctly into PowerPoint), the code
122
122
next calls the **Count** method on the value of
123
-
the [SlideParts](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.packaging.presentationpart.slideparts.aspx) property of the presentation
123
+
the [SlideParts](https://msdn.microsoft.com/library/office/documentformat.openxml.packaging.presentationpart.slideparts.aspx) property of the presentation
124
124
part. If you requested all slides, including hidden slides, that is all
125
125
there is to do. There is slightly more work to be done if you want to
126
126
exclude hidden slides, as shown in the following code.
@@ -145,17 +145,17 @@ exclude hidden slides, as shown in the following code.
If you requested that the code should limit the return value to include
150
150
only visible slides, the code must filter its collection of slides to
151
-
include only those slides that have a [Show](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.presentation.slide.show.aspx) property that contains a value, and
151
+
include only those slides that have a [Show](https://msdn.microsoft.com/library/office/documentformat.openxml.presentation.slide.show.aspx) property that contains a value, and
152
152
the value is **true**. If the **Show** property is null, that also indicates that
153
153
the slide is visible. This is the most likely scenario—PowerPoint does
154
154
not set the value of this property, in general, unless the slide is to
155
155
be hidden. The only way the **Show** property
156
156
would exist and have a value of **true** would
157
157
be if you had hidden and then unhidden the slide. The following code
158
-
uses the [Where](http://msdn2.microsoft.com/EN-US/library/bb301979)**
158
+
uses the [Where](https://msdn2.microsoft.com/library/bb301979)**
0 commit comments