PortionFormat

PortionFormat class

This class contains the text portion formatting properties. Unlike IPortionFormatEffectiveData, all properties of this class are writeable. This class is used to return and manipulate text portion formatting properties defined for the particular portion. This means that no inheritance is applied when getting values so for the majority of cases you will get values meaning “undefined”. In order to get the effective formatting parameter values including inherited you need to use PortionFormat#getEffective method which returns a IPortionFormatEffectiveData instance.

PortionFormat

NameDescription
PortionFormat()Initializes a new instance of PortionFormat class.

Result: PortionFormat


getAlternativeLanguageId

NameDescription
getAlternativeLanguageId()Returns or sets the Id of an alternative language. Read/write String.

Result: String


getBookmarkId

NameDescription
getBookmarkId()Returns or sets bookmark identifier. Read/write String.

Result: String


getComplexScriptFont

NameDescription
getComplexScriptFont()Returns or sets the complex script font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Result: FontData


getEastAsianFont

NameDescription
getEastAsianFont()Returns or sets the East Asian font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Result: FontData


getEffectFormat

NameDescription
getEffectFormat()Returns the text EffectFormat properties. No inheritance applied. Read-only IEffectFormat.

Result: EffectFormat


getEffective

NameDescription
getEffective()Gets effective portion formatting data with the inheritance applied.

Result: PortionFormatEffectiveData


getEscapement

NameDescription
getEscapement()Returns or sets the superscript or subscript text. Value from -100% (subscript) to 100% (superscript). Float.NaN means value is undefined and should be inherited from the Master. Read/write float.

Result: float


getFillFormat

NameDescription
getFillFormat()Returns the text FillFormat properties. No inheritance applied. Read-only IFillFormat.

Result: FillFormat


getFontBold

NameDescription
getFontBold()Determines whether the font is bold. No inheritance applied. Read/write NullableBool.

Result: byte


getFontHeight

NameDescription
getFontHeight()Returns or sets the font height of a portion. Float.NaN means height is undefined and should be inherited from the Master. Read/write float.

Result: float


getFontItalic

NameDescription
getFontItalic()Determines whether the font is itallic. No inheritance applied. Read/write NullableBool.

Result: byte


getFontUnderline

NameDescription
getFontUnderline()Returns or sets the text underline type. No inheritance applied. Read/write TextUnderlineType.

Result: byte


getHighlightColor

NameDescription
getHighlightColor()Returns the color used to highlight a text. No inheritance applied. Read-only IColorFormat.

Result: ColorFormat


getHyperlinkClick

NameDescription
getHyperlinkClick()Returns or sets the hyperlink defined for mouse click. Read/write IHyperlink.

Result: Hyperlink


getHyperlinkManager

NameDescription
getHyperlinkManager()Hyperlinks manager. Read-only IHyperlinkManager.

Result: HyperlinkManager


getHyperlinkMouseOver

NameDescription
getHyperlinkMouseOver()Returns or sets the hyperlink defined for mouse over. Read/write IHyperlink.

Result: Hyperlink


getKerningMinimalSize

NameDescription
getKerningMinimalSize()Returns or sets the minimal font size, for which kerning should be switched on. Float.NaN means value is undefined and should be inherited from the Master. Read/write float.

Result: float


getKumimoji

NameDescription
getKumimoji()Determines whether the numbers should ignore text eastern language-specific vertical text layout. No inheritance applied. Read/write NullableBool.

Result: byte


getLanguageId

NameDescription
getLanguageId()Returns or sets the Id of a proofing language. Used for checking spelling and grammar. Read/write String.

Result: String


getLatinFont

NameDescription
getLatinFont()Returns or sets the Latin font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Result: FontData


getLineFormat

NameDescription
getLineFormat()Returns the LineFormat properties for text outlining. No inheritance applied. Read-only ILineFormat.

Result: LineFormat


getNormaliseHeight

NameDescription
getNormaliseHeight()Determines whether the height of a text should be normalized. No inheritance applied. Read/write NullableBool.

Result: byte


getParent_IPresentationComponent

NameDescription
getParent_IPresentationComponent()

getParent_ISlideComponent

NameDescription
getParent_ISlideComponent()

getParent_Immediate

NameDescription
getParent_Immediate()

getPresentation

NameDescription
getPresentation()

Result: Presentation


getProofDisabled

NameDescription
getProofDisabled()Determines whether the text shouldn’t be proofed. No inheritance applied. Read/write NullableBool.

Result: byte


getSlide

NameDescription
getSlide()

Result: BaseSlide


getSmartTagClean

NameDescription
getSmartTagClean()Determines whether the smart tag should be cleaned. No inheritance applied. Read/write boolean.

Result: boolean


getSpacing

NameDescription
getSpacing()Returns or sets the intercharacter spacing increment. Float.NaN means value is undefined and should be inherited from the Master. Read/write float.

Result: float


getStrikethroughType

NameDescription
getStrikethroughType()Returns or sets the strikethrough type of a text. No inheritance applied. Read/write TextStrikethroughType.

Result: byte


getSymbolFont

NameDescription
getSymbolFont()Returns or sets the symbolic font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Result: FontData


getTextCapType

NameDescription
getTextCapType()Returns or sets the type of text capitalization. No inheritance applied. Read/write TextCapType.

Result: byte


getUnderlineFillFormat

NameDescription
getUnderlineFillFormat()Returns the underline line FillFormat properties. No inheritance applied. Read-only IFillFormat.

Result: FillFormat


getUnderlineLineFormat

NameDescription
getUnderlineLineFormat()Returns the LineFormat properties used to outline underline line. No inheritance applied. Read-only ILineFormat.

Result: LineFormat


getVersion

NameDescription
getVersion()

Result: long


isHardUnderlineFill

NameDescription
isHardUnderlineFill()Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text. Read/write NullableBool.

Result: byte


isHardUnderlineLine

NameDescription
isHardUnderlineLine()Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text. Read/write NullableBool.

Result: byte


setAlternativeLanguageId

NameDescription
setAlternativeLanguageId(String)Returns or sets the Id of an alternative language. Read/write String.

setBookmarkId

NameDescription
setBookmarkId(String)Returns or sets bookmark identifier. Read/write String.

setComplexScriptFont

NameDescription
setComplexScriptFont(FontData)Returns or sets the complex script font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

setEastAsianFont

NameDescription
setEastAsianFont(FontData)Returns or sets the East Asian font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

setEscapement

NameDescription
setEscapement(float)Returns or sets the superscript or subscript text. Value from -100% (subscript) to 100% (superscript). Float.NaN means value is undefined and should be inherited from the Master. Read/write float.

setFontBold

NameDescription
setFontBold(byte)Determines whether the font is bold. No inheritance applied. Read/write NullableBool.

setFontHeight

NameDescription
setFontHeight(float)Returns or sets the font height of a portion. Float.NaN means height is undefined and should be inherited from the Master. Read/write float.

setFontItalic

NameDescription
setFontItalic(byte)Determines whether the font is itallic. No inheritance applied. Read/write NullableBool.

setFontUnderline

NameDescription
setFontUnderline(byte)Returns or sets the text underline type. No inheritance applied. Read/write TextUnderlineType.

setHardUnderlineFill

NameDescription
setHardUnderlineFill(byte)Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text. Read/write NullableBool.

setHardUnderlineLine

NameDescription
setHardUnderlineLine(byte)Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text. Read/write NullableBool.

setHyperlinkClick

NameDescription
setHyperlinkClick(Hyperlink)Returns or sets the hyperlink defined for mouse click. Read/write IHyperlink.

setHyperlinkMouseOver

NameDescription
setHyperlinkMouseOver(Hyperlink)Returns or sets the hyperlink defined for mouse over. Read/write IHyperlink.

setKerningMinimalSize

NameDescription
setKerningMinimalSize(float)Returns or sets the minimal font size, for which kerning should be switched on. Float.NaN means value is undefined and should be inherited from the Master. Read/write float.

setKumimoji

NameDescription
setKumimoji(byte)Determines whether the numbers should ignore text eastern language-specific vertical text layout. No inheritance applied. Read/write NullableBool.

setLanguageId

NameDescription
setLanguageId(String)Returns or sets the Id of a proofing language. Used for checking spelling and grammar. Read/write String.

setLatinFont

NameDescription
setLatinFont(FontData)Returns or sets the Latin font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

setNormaliseHeight

NameDescription
setNormaliseHeight(byte)Determines whether the height of a text should be normalized. No inheritance applied. Read/write NullableBool.

setProofDisabled

NameDescription
setProofDisabled(byte)Determines whether the text shouldn’t be proofed. No inheritance applied. Read/write NullableBool.

setSmartTagClean

NameDescription
setSmartTagClean(boolean)Determines whether the smart tag should be cleaned. No inheritance applied. Read/write boolean.

setSpacing

NameDescription
setSpacing(float)Returns or sets the intercharacter spacing increment. Float.NaN means value is undefined and should be inherited from the Master. Read/write float.

setStrikethroughType

NameDescription
setStrikethroughType(byte)Returns or sets the strikethrough type of a text. No inheritance applied. Read/write TextStrikethroughType.

setSymbolFont

NameDescription
setSymbolFont(FontData)Returns or sets the symbolic font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

setTextCapType

NameDescription
setTextCapType(byte)Returns or sets the type of text capitalization. No inheritance applied. Read/write TextCapType.