com.spire.doc
Class Break
java.lang.Object
com.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.fields.ParagraphBase
com.spire.doc.Break
- All Implemented Interfaces:
- IRunAttrSource, IDocumentObject, IParagraphBase
public class Break
- extends ParagraphBase
Break
public Break(IDocument doc)
- Initializes a new instance of the
Break
class.
- Parameters:
doc
- The doc.
Break
public Break(IDocument doc,
BreakType breakType)
- Initializes a new instance of the
Break
class.
- Parameters:
doc
- The doc.breakType
- Break type
getDocumentObjectType
public DocumentObjectType getDocumentObjectType()
- Gets the type of the document object.
- Specified by:
getDocumentObjectType
in interface IDocumentObject
- Specified by:
getDocumentObjectType
in class DocumentObject
- Returns:
- The type of the document object.
getCharacterFormat
public CharacterFormat getCharacterFormat()
- Gets the character format.
- Overrides:
getCharacterFormat
in class ParagraphBase
- Returns:
- CharacterFormat
getBreakType
public BreakType getBreakType()
- Gets the type of the break.
- Returns:
- The type of the break.