Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Mon Nov 21, 2022 2:14 am

The Spire.Doc API documentation does not give much explanation about many object properties.
One example is the IDocumentObject.IsComposite Property.
This property is implemented by many types of class, and the API documentation for each of them refers us back to the definition of IDocumentObject.IsComposite, which tells us, basically, that it is a boolean value.

I cannot find any more in-depth documentation on the various classes, properties and methods in the Spire.Doc API. It looks like it is quite a rich and powerful API, things are all just a little bit different than the Office Word API, so a few sentences of explanation on each page of the API documentation would be very helpful.

Les43625
 
Posts: 12
Joined: Tue Feb 22, 2022 1:41 am

Mon Nov 21, 2022 7:57 am

Hello,

Thanks for your contacting.
The IDocumentObject.IsComposite means whether the object is a composite object.
In addition, for the Spire.Doc API, we will improve it gradually. Thanks for your advice and sorry for the inconvenience caused.

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Mon Nov 21, 2022 9:10 pm

It was no inconvenience, I was just wondering if more explanation or examples could improve the documentation.
But I think the information is already there; I assume the list of interfaces supported by the object explains the composition and features of the object?

Thanks,
Les

Les43625
 
Posts: 12
Joined: Tue Feb 22, 2022 1:41 am

Tue Nov 22, 2022 9:26 am

Hello,

Thanks for your feedback.
If the IsComposite Property of object is “true”, which means this object can include other objects. For example, the “Paragraph” is a composite object, which includes the other objects(“TextRange”、“DocPicture”、“TextBox” etc.), and the “TextRange” object is not composite object, which does not include the other objects.
You can learn about more information about composite object from the following link:
https://www.cnblogs.com/xujinzhong/p/8479207.html

If you have any issue, just feel free to contact us.

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Return to Spire.Doc