Hello,
Greetings to all...
I need to check if the component is Content Center OR Custom Content Center File using Document Object (Not Using PartDocument)
Ex:
Dim oDoc as Document
Dim i as Integer
For i = 0 to ThisApplication.Documents.Count
oDoc = ThisApplication.Documents(i)
if oDoc.IsContentMember = True Then
----******------
End If
Next
I need to add a check in the for loop, some thing like the If Condition marked in RED above. I don't want to use PartComponentDefinition.IsContentMember()
There is also another property Document.Type() which return the ObjectTypeEnum, but this always return kDocumentObject for all the Part Documents.
Why don't you want to use PartComponentDefinition object?