ChartPortionFormat
Contents
[
Hide
]ChartPortionFormat class
This class contains the chart portion formatting properties used in charts. Unlike IPortionFormatEffectiveData, all properties of this class are writeable.
class ChartPortionFormat : public Aspose::Slides::BasePortionFormat,
public Aspose::Slides::Charts::IChartPortionFormat
Methods
Method | Description |
---|---|
bool Equals(System::SharedPtr<System::Object>) override | Compares with specified object. |
virtual bool Equals(ptr) | Compares objects using C# Object.Equals semantics. |
static std::enable_if<IsSmartPtr<T1>::value&&IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&) | Compares reference type objects in C# style. |
static bool Equals(float const&, float const&) | Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. |
static bool Equals(double const&, double const&) | Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. |
virtual bool FastCast(const Details::FastRttiBase&, void **) const | For internal purposes only. |
System::String get_AlternativeLanguageId() override | Returns the Id of an alternative language. Read System::String. |
System::SharedPtr<IFontData> get_ComplexScriptFont() override | Returns the complex script font info. Null means font is undefined and should be inherited from the Master. Read IFontData. |
System::SharedPtr<IFontData> get_EastAsianFont() override | Returns the East Asian font info. Null means font is undefined and should be inherited from the Master. Read IFontData. |
System::SharedPtr<IEffectFormat> get_EffectFormat() override | Returns the text EffectFormat properties. No inheritance applied. Read-only IEffectFormat. |
float get_Escapement() override | Returns the superscript or subscript text. Value from -100% (subscript) to 100% (superscript). std::numeric_limits |
System::SharedPtr<IFillFormat> get_FillFormat() override | Returns the text FillFormat properties. No inheritance applied. Read-only IFillFormat. |
NullableBool get_FontBold() override | Determines whether the font is bold. No inheritance applied. Read NullableBool. |
float get_FontHeight() override | Returns the font height of a portion. std::numeric_limits |
NullableBool get_FontItalic() override | Determines whether the font is itallic. No inheritance applied. Read NullableBool. |
TextUnderlineType get_FontUnderline() override | Returns the text underline type. No inheritance applied. Read TextUnderlineType. |
System::SharedPtr<IColorFormat> get_HighlightColor() override | Returns the color used to highlight a text. No inheritance applied. Read-only IColorFormat. |
NullableBool get_IsHardUnderlineFill() override | Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text. Read NullableBool. |
NullableBool get_IsHardUnderlineLine() override | Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text. Read NullableBool. |
float get_KerningMinimalSize() override | Returns the minimal font size, for which kerning should be switched on. std::numeric_limits |
NullableBool get_Kumimoji() override | Determines whether the numbers should ignore text eastern language-specific vertical text layout. No inheritance applied. Read NullableBool. |
System::String get_LanguageId() override | Returns the Id of a proofing language. Used for checking spelling and grammar. Read System::String. |
System::SharedPtr<IFontData> get_LatinFont() override | Returns the Latin font info. Null means font is undefined and should be inherited from the Master. Read IFontData. |
System::SharedPtr<ILineFormat> get_LineFormat() override | Returns the LineFormat properties for text outlining. No inheritance applied. Read-only ILineFormat. |
NullableBool get_NormaliseHeight() override | Determines whether the height of a text should be normalized. No inheritance applied. Read NullableBool. |
virtual ASPOSE_SLIDES_LOCAL_API System::SharedPtr<IDOMObject> get_Parent_Immediate() | Returns Parent_Immediate object. Read-only IDOMObject. |
virtual ASPOSE_SLIDES_LOCAL_API System::SharedPtr<IPresentationComponent> get_Parent_IPresentationComponent() | Returns parent IPresentationComponent. Read-only IPresentationComponent. |
NullableBool get_ProofDisabled() override | Determines whether the text shouldn’t be proofed. No inheritance applied. Read NullableBool. |
float get_Spacing() override | Returns the intercharacter spacing increment. std::numeric_limits |
TextStrikethroughType get_StrikethroughType() override | Returns the strikethrough type of a text. No inheritance applied. Read TextStrikethroughType. |
System::SharedPtr<IFontData> get_SymbolFont() override | Returns the symbolic font info. Null means font is undefined and should be inherited from the Master. Read IFontData. |
Aspose::Slides::TextCapType get_TextCapType() override | Returns the type of text capitalization. No inheritance applied. Read Slides::TextCapType. |
System::SharedPtr<IFillFormat> get_UnderlineFillFormat() override | Returns the underline line FillFormat properties. No inheritance applied. Read-only IFillFormat. |
System::SharedPtr<ILineFormat> get_UnderlineLineFormat() override | Returns the LineFormat properties used to outline underline line. No inheritance applied. Read-only ILineFormat. |
Detail::SmartPtrCounter * GetCounter() | Gets reference counter data structure associated with the object. |
int32_t GetHashCode() const override | Returns hash code. |
virtual const TypeInfo& GetType() const | Gets actual type of object. Analog of C# System.Object.GetType() call. |
virtual bool Is(const TypeInfo&) const | Check if object represents an instance of type described by targetType. Analog of C# ‘is’ operator. |
void Lock() | Implements C# lock() statement locking. Call directly or use LockContext sentry object. |
virtual ptr MemberwiseClone() const | Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. |
Object() | Creates object. Initializes all internal data structures. |
Object(Object const&) | Copy constructor. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses. |
Object& operator=(Object const&) | Assignment operator. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses. |
static bool ReferenceEquals(ptr const&, ptr const&) | Compares objects by reference. |
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, T const&) | Compares objects by reference. |
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, std::nullptr_t) | Reference-compares value type object with nullptr. |
bool ReferenceEquals(String const&, std::nullptr_t) | Specialization of Object::ReferenceEquals for case of string and nullptr. |
bool ReferenceEquals(String const&, String const&) | Specialization of Object::ReferenceEquals for case of strings. |
int RemovedSharedRefs(int) | Decreases shared reference count by specified value. |
void set_AlternativeLanguageId(System::String) override | Sets the Id of an alternative language. Write System::String. |
void set_ComplexScriptFont(System::SharedPtr<IFontData>) override | Sets the complex script font info. Null means font is undefined and should be inherited from the Master. Write IFontData. |
void set_EastAsianFont(System::SharedPtr<IFontData>) override | Sets the East Asian font info. Null means font is undefined and should be inherited from the Master. Write IFontData. |
void set_Escapement(float) override | Sets the superscript or subscript text. Value from -100% (subscript) to 100% (superscript). std::numeric_limits |
void set_FontBold(NullableBool) override | Determines whether the font is bold. No inheritance applied. Write NullableBool. |
void set_FontHeight(float) override | Sets the font height of a portion. std::numeric_limits |
void set_FontItalic(NullableBool) override | Determines whether the font is itallic. No inheritance applied. Write NullableBool. |
void set_FontUnderline(TextUnderlineType) override | Sets the text underline type. No inheritance applied. Write TextUnderlineType. |
void set_IsHardUnderlineFill(NullableBool) override | Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text. Write NullableBool. |
void set_IsHardUnderlineLine(NullableBool) override | Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text. Write NullableBool. |
void set_KerningMinimalSize(float) override | Sets the minimal font size, for which kerning should be switched on. std::numeric_limits |
void set_Kumimoji(NullableBool) override | Determines whether the numbers should ignore text eastern language-specific vertical text layout. No inheritance applied. Write NullableBool. |
void set_LanguageId(System::String) override | Sets the Id of a proofing language. Used for checking spelling and grammar. Write System::String. |
void set_LatinFont(System::SharedPtr<IFontData>) override | Sets the Latin font info. Null means font is undefined and should be inherited from the Master. Write IFontData. |
void set_NormaliseHeight(NullableBool) override | Determines whether the height of a text should be normalized. No inheritance applied. Write NullableBool. |
void set_ProofDisabled(NullableBool) override | Determines whether the text shouldn’t be proofed. No inheritance applied. Write NullableBool. |
void set_Spacing(float) override | Sets the intercharacter spacing increment. std::numeric_limits |
void set_StrikethroughType(TextStrikethroughType) override | Sets the strikethrough type of a text. No inheritance applied. Write TextStrikethroughType. |
void set_SymbolFont(System::SharedPtr<IFontData>) override | Sets the symbolic font info. Null means font is undefined and should be inherited from the Master. Write IFontData. |
void set_TextCapType(Aspose::Slides::TextCapType) override | Sets the type of text capitalization. No inheritance applied. Write Slides::TextCapType. |
virtual void SetTemplateWeakPtr(uint32_t) | Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. |
int SharedCount() const | Gets current value of shared reference counter. |
Object * SharedRefAdded() | Increments shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
int SharedRefRemovedSafe() | Decrements and returns shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
virtual String ToString() const | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
static const TypeInfo& Type() | Implements C# typeof(System.Object) construct. |
void Unlock() | Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. |
Detail::SmartPtrCounter * WeakRefAdded() | Increments weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
void WeakRefRemoved() | Decrements weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
ASPOSE_SLIDES_LOCAL_API void WrapperLazyInitialization() const | |
virtual ~Object() | Destroys object. Frees all internal data structures. |
Remarks
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.
See Also
- Class BasePortionFormat
- Class IChartPortionFormat
- Namespace Aspose::Slides::Charts
- Library Aspose.Slides