public class TextStyle extends PVIObject implements ITextStyle
This class contains the text style formatting properties.
Modifier and Type | Field and Description |
---|---|
static byte |
MaxLevelCount
Maximum count of style levels that can be defined.
|
Modifier and Type | Method and Description |
---|---|
IParagraphFormat |
getDefaultParagraphFormat()
Default paragraph propertiies.
|
IParagraphFormat |
getLevel(int index)
If level of style exist returns it, otherwise returns null.
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
IPresentationComponent |
getParent_IPresentationComponent()
Returns parent IPresentationComponent.
|
long |
getVersion()
Version.
|
equals, getParent_Immediate, getParent_IPresentationComponent, getParent_ISlideComponent, getPresentation, getSlide, getVersion, hashCode, reset_Parent_IPresentationComponent
public static final byte MaxLevelCount
Maximum count of style levels that can be defined.
Use it with getLevel(int)
for (int i = 0; i < TextStyle.MaxLevelCount; i++) { IParagraphFormat paragraphFormat = getLevel(i); ... }
public final IParagraphFormat getLevel(int index)
If level of style exist returns it, otherwise returns null.
getLevel
in interface ITextStyle
index
- Zero-based index of level. Must lay in 0..8 interval.IParagraphFormat
.public final IParagraphFormat getDefaultParagraphFormat()
Default paragraph propertiies.
Read-only IParagraphFormat
.
getDefaultParagraphFormat
in interface ITextStyle
public IPresentationComponent getParent_IPresentationComponent()
Returns parent IPresentationComponent.
Read-only IPresentationComponent
.
public long getVersion()
Version.
Read-only long
.
public com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
Copyright © 2004-2019 Aspose Pty Ltd. All Rights Reserved.