-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > Automation and VBA > Automating JPEG export of charts > Reply To: Automating JPEG export of charts

The document consists of a collection of pages, each containing a collection of shapes. Some of them like tables and diagrams have DocObjects associated with. The following sample enumerates the diagrams of a document and displays their name.
Sub DocuTest()
Dim oDoc As Document
Set oDoc = ThisDatabase.RootFolder("Dokument", fpObjectTypeDocument)
Dim oShapes As Shapes
For Each oShapes In oDoc.Pages
Dim oShape As Shape
For Each oShape In oShapes
If Not oShape.DocObject Is Nothing Then
If oShape.DocObject.ObjectType = fpObjectType2DDiagram _
Or oShape.DocObject.ObjectType = fpObjectType3DDiagram Then
MsgBox oShape.DocObject.Name
End If
End If
Next
Next
End Sub
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information